aplelois
asked on
sudo
hello,
im running FC1 and I would like to give sudo to a friend
so he can do everything that 'root' can do, no matter what.
how would I do that?
im running FC1 and I would like to give sudo to a friend
so he can do everything that 'root' can do, no matter what.
how would I do that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Well using sudo bob needs to run the command like so...
sudo adduser webst
The command not found part means that the adduser command is not in bob's PATH in which case bob can add /usr/sbin to his PATH or execute like so...
sudo /usr/sbin/adduser webst
sudo adduser webst
The command not found part means that the adduser command is not in bob's PATH in which case bob can add /usr/sbin to his PATH or execute like so...
sudo /usr/sbin/adduser webst
ASKER
thanks a lot.
In addition, you could have it so there is no password for this user.
bob ALL=(ALL) NOPASSWD:ALL
bob ALL=(ALL) NOPASSWD:ALL
ASKER
then visudo and added
bob ALL=(ALL) ALL
but when bob logs in he cant do this
adduser webst
-bash: adduser: command not found
why?