From terminal I did this: sudo adduser username and then I made a password for new user: sudo passwd <username>
It all seemed fine but after reboot when I loggen into the new account I saw that awful .iceauthorithy issue. Seen that before in ubuntu and it was a pain.
So I hitting the reset button cause I didnt think to startx from F2 when the entire desktop was missing I logged into my other working account.
Deleted account using: sudo userdel -f username to remove also all the home/newuser.
Then I did it all over again and created new user. Same result. And deleted account once again.
Really all I need is to change the name of my account and then I could care less about missing .iceauthority.
What lead me to do a <adduser> was that I could not change my own username from terminal.
Code: Select all
sudo usermod -d /home/new_username -l new_username -m current_username
Well this failed cause I was allready logged into the system. As I am the only user of this pc I can not make changes from other accounts either cause those new accounts starts with errors.
Is there a smart way to change my own username? I mean as I can not do it from terminal can I manually make changes to one or more files?
And if so what files to change?
Normally I would not care much as I right now need to change username and cannot just install new all over I must get this to work somehow. Backupdrives are full and I have no cash for new drives before next month.
Pls tell me there is a smart way to change the username/log in name for the only user of a Linux mint system?