Re: How can I set a network card to active....



Reinhard Gimbel wrote:
Please post the output of

(/sbin/) ifconfig
(/usr/sbin/) iwconfig
(/sbin/) route -n
(/usr/sbin/) hwinfo --netcard
(/usr/sbin/) hwinfo --wlan

All commands need to be issued in the context of user "root". If you
will do that by using "sudo" you will need the complete path of the
commands [added in ()].

That last part is not correct. You can issue all commands as user when
the whole path is given. e.g. `/usr/sbin/route -n` as user just works.
No need for sudo here.
--
houghi Please do not toppost http://houghi.org
Roses are #FF0000, Violets are #0000FF,
All my base are belong to you. Happy Valentine.
.



Relevant Pages

  • Re: use sudo without having to type password?
    ... > There are lots of very valid reasons for having password-less sudo ... > commands available. ... >> If you have to do anything as root, you should have to type a password ... It should stand as a warning that they're about to ...
    (alt.os.linux)
  • Re: Change Permissions on a new hard drive to allow write...Problem Solved
    ... Please tell how I could have solved the problem without logging in as ... You'd use sudo or one of its graphical derivatives, ... Those three commands could have been used to do everything you did ... logging in as root. ...
    (Ubuntu)
  • Re: Root access loggin
    ... Subject: Root access loggin ... commands with sudo assume that the user actually knows what commands ... Sudo wouldn't be any help here cause I would need to pre approve ... the wheel group and using visudo to grant wheel access to everything ...
    (freebsd-questions)
  • Re: Root access loggin
    ... commands with sudo assume that the user actually knows what commands ... Sudo wouldn't be any help here cause I would need to pre approve commands ... You can grant them access to everything that root has simply by adding their account to the wheel group and using visudo to grant wheel access to everything that root has access to. ...
    (freebsd-questions)
  • Re: SUDO
    ... The intention of sudo is to allow specific users to execute specific ... commands while keeping the root account locked down. ... As for reading the log files: have a look at ACLs, ...
    (RedHat)