musclekvm.blogg.se

F1 2013 profile name fix
F1 2013 profile name fix





Login with your old credentials and add a new user, e.g. Some additional information for not so experienced users like me:Īs I only have ONE user account (administrator), it would not let me change the username ("you are already logged in" was the response in TTY1 ( Ctrl+ Alt+ F1). You can either keep a symlink for backward compatibility, e g ln -s /home/newname /home/oldname or you can change the file contents with sed -i.bak 's/*oldname*/*newname*/g' *list of files* It creates a backup for each file with a. Update: as arrange mentioned, some files may reference your old home directory.

f1 2013 profile name fix

To do so, enter ps -u username, look for the matching PID and kill them by kill PID-number. To change home-folder, use sudo usermod -d /home/newHomeDir -m newUsernameįor instance, you could logout, drop to a console ( Ctrl+ Alt+ F1), and sudo su - to become true root (as opposed to sudo -s, where $HOME is still /home/yourname.) Maybe you also have to kill some still running processes from this user first.

f1 2013 profile name fix

This however, doesn't rename the home folder. To change username and user's groupname (it is probably best to do this without being logged in): sudo usermod -l newUsername oldUsername To manage every aspect of the user database, you use the usermod tool.

f1 2013 profile name fix

All permissions, files, etc are tied to your identity (uid), not your username. Unix-like operating systems decouple the user name from the user identity, so you may safely change the name without affecting the ID.







F1 2013 profile name fix