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

Notices


Rate this Entry

Changing username of your machine

Posted 07-19-2015 at 12:05 PM 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 483 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



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

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