Board index Linux General Stuffs

Moderator: chandranjoy

How to add a user and covnert it as a sudo user on Ubuntu?

Postby chandranjoy » Thu Jul 21, 2011 6:13 pm

How to add a user and covert it as a sudo user on Ubuntu?
Add user,
adduser user

(Enter the password and answer the prompted questions) then issue the following command
usermod -a -G sudo user


vi /etc/sudoers

add the following line.
user ALL=(ALL) ALL

Cheers :)
chandranjoy
Site Admin
 
Posts: 283
Joined: Fri Oct 23, 2009 11:19 pm

Return to General Stuffs

Who is online

Users browsing this forum: No registered users and 0 guests


cron