Results 1 to 5 of 5
Hi All,
Newbee here, so be easy I have a user I configured via GUI on Cent OS 5 while in the office. I am now SSH'd in remotely and ...
- 09-12-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 3
user needs sudo
Hi All,
Newbee here, so be easy
I have a user I configured via GUI on Cent OS 5 while in the office. I am now SSH'd in remotely and would like to know what do I need to do to make a user part of the sudo group via command line. Sorry if I may have worded this wrong, I am a newbee. 
Thank you in advance.
- 09-12-2007 #2
You can use the command visudo to safely edit /etc/sudoers or you can just run:
as root where loginname is your username.Code:echo 'loginname ALL=(ALL) ALL' >> /etc/sudoers
- 09-12-2007 #3Just Joined!
- Join Date
- Sep 2007
- Posts
- 3
Great, well that took. How do I verify if the user is part of sudo?
- 09-12-2007 #4
First, logout and log back in. Then, try running a command, as a regular user, that normally root would only be able to run, with sudo. For example, you can try editing files outside of ~. Of course, be sure you undo any changes you make so that you don't harm your system in any way.
- 09-12-2007 #5Just Joined!
- Join Date
- Sep 2007
- Posts
- 3
Thanks!!!


Reply With Quote