[ale] ubuntu create another user and remove old user
Damon Chesser
damon at damtek.com
Mon Feb 28 20:52:22 EST 2011
On 2/28/2011 8:48 PM, Wolf Halton wrote:
> 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.
The reason for this is that if you make a mistake in syntax, visudo will
tell you when you save and exit. Vi will not.
>
> $ 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/)|
>
> ||
>
>
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110228/2da2b360/attachment.html
More information about the Ale
mailing list