Rename accounts in FreeBSD

pw usermod -n oldname -l newname -d /usr/home/newname
pw groupmod -n oldname -l newname
mv /usr/home/oldname /usr/home/newname
chown -R newname:newname /usr/home/newname

Leave a Reply

You must be logged in to post a comment.

Categories
Support Our site