01-20-2020, 02:21 PM
(01-20-2020, 01:20 PM)Arwen Wrote:(01-20-2020, 12:14 PM)Envision Wrote: Can anyone help the Linux noob here change the home directory name since this command is simply stating "no changes made" and I'm clueless as to how to do this.I've fixed that instruction;
usermod -d /home/rock -m NewUser
Thanks!
usermod -l NewUser -d /home/NewUser -m rock
Now if you have already changed the user's name to something other than "rock", it would be something like this;
usermod -d /home/NewUser -m NewUser
Thank you so much!! Worked like a charm!