[BlueOnyx:25509] Re: Rename user

Michael Stauber mstauber at blueonyx.it
Mon Jul 18 14:38:10 -05 2022


Hi Brent,

> Simple question: is there a way to rename a user? (ie.: the actual 
> system username)  If not, is there a workaround that doesn't break things?


No, sorry. There are no provisions for this in BlueOnyx. But it can be 
done manually with a few simple steps:

1.) Create the new user via the GUI.

2.) Copy all data from the old users home directory to the new users 
home directory.

3.) Use "chown" to fix the ownership of all data in the new users home 
directoy. Something like this (assuming the new users is "jdoe" and 
belongs to "site2":

chown jdoe:site2 -R ~jdoe

4.) Once everything is done and works, simply delete the old user via 
the GUI.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list