Volker Kuhlmann wrote:
Make sure the user
to be renamed is not logged in. Use mv /home/olduser /home/newuser.

Didn't work for me. The cp -a approach that I suggested worked fine, so I'm guessing that some symlinks were broken by the conventional move. Using cp -a also means that you can copy your own home space while you're logged in, which is convenient.


Christopher Sawtell wrote:
3 points,

1) If you are making the changes on a live multi-user unix box, you
should always use lthe vipw and vigr utilities to change the passwd
and group files

I wasn't, but it's a good point.

2) I don't think there is any need to copy the douglas file-set to
fred unless you want douglas to remain a user after fred has taken
over the files.

You're right, but I wanted to maintain the convention of my home space being in /home/username. No "need" to do the rename in the first place, of course - just straightening the doilies.




=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================

Reply via email to