[ale] ubuntu create another user and remove old user
David Tomaschik
david at systemoverlord.com
Tue Mar 1 09:51:52 EST 2011
On Tue, Mar 1, 2011 at 8:50 AM, Narahari 'n' Savitha
<savithari at gmail.com> wrote:
> So David
>
>
> 2 points:
> 1) You couldn't do this as devpid. usermod will not modify the username
> of a user who is currently logged in.
>
>
> You are right, I could not change. So what are my options.
>
> Create a user call junkuser, login as that user,
> sudo su - from that, and run the commands to convert devpid to devuser
> sudor remove junk user, is that right ?
>
> 2) This turns devpid INTO devuser, rather than creating a new account
> for devuser to give the user a fresh start.
>
> If I wanted to create a fresh user itself then how would I do that
As I stated last night:
1) Create a new user.
2) Add user to 'admin' group.
3) Login as new user.
4) Delete old user.
--
David Tomaschik, RHCE, LPIC-1
System Administrator/Open Source Advocate
OpenPGP: 0x5DEA789B
http://systemoverlord.com
david at systemoverlord.com
More information about the Ale
mailing list