Usermod has the capability.

usermod
-d home_dir
              The  user's  new login directory.  If the -m option
              is given the contents of the current home directory
              will  be  moved to the new home directory, which is
              created if it does not already exist.
-l login_name
              The  name of the user will be changed from login to
              login_name.  Nothing else is changed.  In  particu­
              lar, the user's home directory name should probably
              be changed to reflect the new login name.    

I would imagine this to be the easiest process rather than editing
/etc/passwd directly, etc.

Peter.
--
In the beginning, the universe was created. 
This made a lot of people very angry, and 
has been widely regarded as a bad idea.

***************************************************************
*Peter Good                    Email: [EMAIL PROTECTED]
*Pete's Internet Services      Sales: [EMAIL PROTECTED] *
*http://www.petesinternet.net  Phone: 0401 283 482            *
*Morayfield QLD Australia                                     *
***************************************************************

Reply via email to