- Prison Code Breaker Diary -

=> aka: Nhật Kí Code Tù

Categories

If u feel bored of your current username, why not change to new one?



$ usermod -l new_name old_name



Then you need to set a home folder for that username, since I have changed one of my own username, now I will need to rename my old home folder to new username home folder to reflect it



$ mv /home/old_name /home/new_name

$ usermod -d /home/new_name new_name



Note: make sure you don't login to this user, any process of old_user must not be running while the command is executed. Well, better to run it under your root account.

Have fun!@

0 comments

Post a Comment