[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] ubuntu create another user and remove old user
- Subject: [ale] ubuntu create another user and remove old user
- From: wolf at wolfhalton.info (Wolf Halton)
- Date: Mon, 28 Feb 2011 20:48:12 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
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