Rename a user
Jerry McAllister
jerrymc at clunix.cl.msu.edu
Sat Mar 13 17:35:15 PST 2004
>
> Hi List,
> How can I rename a user from my BSD 5.2 system. I have a user called "hoa",
> then I want to rename it to "nguyen", so what should I do?
Just make yourself root (su)
then do 'vipw' and edit the Userid name in the hao record.
When you get out of vipw (:wq, just like in vi) it also updated
the database properly.
Of course, if there are scripts somewhere that have the hao name
hardcoded in to them, those will have to be fixed by hand.
////jerry
> Thanks
> Hoa, Nguyen
More information about the freebsd-questions
mailing list