[vox-tech] Can a username be changed?

Foo Lim vox-tech@lists.lugod.org
Sun, 9 Feb 2003 13:35:41 -0800 (PST)


Hi Bill,

I've never had to change someone's login, but you might look into
usermod(8).

FL

On Sun, 9 Feb 2003, Bill Kendrick wrote:

> Is there a way to change a user's login name under Unix?
> 
> Is it safe enough to simply rename their home directory and
> edit their entry in /etc/passwd and /etc/shadow?
> 
> Or am I dealing with dangerous powers, and would be safe enough
> creating a brand new user and deleting the old one?