[ale] ubuntu create another user and remove old user

Wolf Halton wolf at wolfhalton.info
Mon Feb 28 20:48:12 EST 2011


On 02/28/2011 08:15 PM, Narahari 'n' Savitha wrote:
> Friends:
>
> I have created a user called devpid and it is the only user account in 
> Ubuntu 10.10.
>
> I selected the autologin option for this user devpid and when I do 
> sudo, the password used for this devpid user works.
>
> Now I need to create user called just devuser instead of devpid.
>
> I want to be able to make this new user devuser the only user and 
> removed devpid.  Also I want to give devuser the rights to be sudo.
>
> How do I do that in Ubuntu ?
>
> -Narahari
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
#sudo vi /etc/sudoers

When sudoers opens, check if there is a group shown as a sudoers group 
'admin' is the one on my machine.  The sudoers file says it can be 
edited only with the visudo program.  I have never had any issues 
editing it with vi.

$ id devpid

output shows the groups devpid is a member of.  'admin' should be one of 
those groups.

# groupadd wheel
then add you user to the new admin group

# usermod -a -G admin devuser |

|
|The last line I found on 
(http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/)|

||



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110228/ee565e27/attachment.html 


More information about the Ale mailing list