Welcome to the most active Linux Forum on the web.
Go Back > Blogs > Upendra Pratap Singh
User Name


Rate this Entry

Changing username of your machine

Posted 07-19-2015 at 11:05 AM by Upendra Pratap Singh

Always use usermod command to change username or the properties of the user like UID etc.

Do not go for manual editing in /etc/shadow, /etc/passwd and /etc/groups file to change your username, password or UID etc.

It corrupts the entries so much so that you will not be able to access other disk partitions other than the one in which Ubuntu is installed. Also you will not be able to login as root.
Posted in Uncategorized
Views 490 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 02:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration