View Single Post

   
  #2 (permalink)  
Old 01-19-2008, 07:34 AM
rich
 
Posts: n/a
Default Re: change user login

On Wed, 08 Feb 2006 07:14:31 +0000, Walter Mitty wrote:

> Aby recommendations how best to change a use login ID from "abc" to "def"?
>
> Just create new, copy "abc data" from ~abc to ~def? rename and chown?


You should be able to change abc to def in /etc/passwd, /etc/shadow,
and /etc/group (don't miss /home/abc in /etc/passwd).
Then mv /home/abc to /home/def and login.


rich


Reply With Quote