usermod and processes
#3
(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:
  1. At the start screen press Ctrl+Alt+F1.

  2. Log in using your username and password.

  3. Set a password for the "root" account.
    sudo passwd root
  4. Log out.
    exit
  5. Log in using the "root" account and the password you have previously set.
  6. Change the username and the home folder to the new name that you want.
    usermod -l <newname> -d /home/<newname> -m <oldname>
  7. Change the group name to the new name that you want.
    groupmod -n <newgroup> <oldgroup>
  8. Lock the "root" account.
    passwd -l root
  9. 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.
  10. Log out.
    exit
  11. Press Ctrl+Alt+F7.
  Reply


Messages In This Thread
usermod and processes - by TrekkingBob - 01-05-2018, 09:50 AM
RE: usermod and processes - by dkryder - 01-05-2018, 12:29 PM
RE: usermod and processes - by TrekkingBob - 01-07-2018, 01:13 PM
RE: usermod and processes - by TrekkingBob - 01-07-2018, 02:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)