01-07-2018, 01:13 PM
(01-05-2018, 12:29 PM)dkryder Wrote: i think you have to use root account to change rock64 name.
Thank you. I have been able to change the username and password. Verified by reboot and CLI login before GUI Desktop Environemtn login.
I believe I have associated the home directory. I was having issue then with logging into the desktop view the GUI login screen. No combination of old/new username/password worked for login.
Specifically, I followed these steps from ask ubuntu, barring step 9.
Quote:
- At the start screen press Ctrl+Alt+F1.
- Log in using your username and password.
- Set a password for the "root" account.
sudo passwd root
- Log out.
exit- Log in using the "root" account and the password you have previously set.
- Change the username and the home folder to the new name that you want.
usermod -l <newname> -d /home/<newname> -m <oldname>- Change the group name to the new name that you want.
groupmod -n <newgroup> <oldgroup>- Lock the "root" account.
passwd -l root- If you were using ecryptfs (encrypted home directory). Mount your encrypted directory using
ecryptfs-recover-private and edit <mountpoint>/.ecryptfs/Private.mntto reflect your new home directory.- Log out.
exit- Press Ctrl+Alt+F7.