User Account: change name

Dennis Kaarsemaker dennis at kaarsemaker.net
Thu May 26 15:31:29 UTC 2005


On do, 2005-05-26 at 17:15 +0200, René L. Reingard wrote:

> how can i change a users name?

You can either manually edit /etc/passwd, /etc/shadow and /etc/group or
create a new user and simply make the old homedir the homedir of the new
user (you can rename it of course). In both cases make sure the user is
not logged in. If the username is listed  in the sudoers file (or any
other administrative file), you will need to change that too.

-- 
Dennis K.
 <- Are you suicidal?
 -> Only in the morning.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050526/5fce2be5/attachment.sig>


More information about the ubuntu-users mailing list