Powered By Blogger

Monday 21 January 2013

Enable sudo user for a user

To make it a user capable of performing sudo, add him to the admin group using either of the following commands:

#sudo usermod -a -G admin <username>
#sudo adduser <username> admin

This works because the admin group is predefined in /etc/sudoers. Note though that newer versions of Ubuntu will use sudo as group instead:

Anzil Ali
Jr.Linux Server Administrator
Myloth Technologies Pvt. Ltd.
Technical Wing: WebHostRepo Software Solutions

web:http://www.webhostrepo.com
twitter:http://twitter.com/whrss
facebook:http://facebook.com/webhostrepo
linkedin:http://in.linkedin.com/in/webhostrepo
 

No comments:

Post a Comment