LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > Upendra Pratap Singh
User Name
Password

Notices


Old

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.
Member
Posted in Uncategorized
Views 726 Comments 0 Upendra Pratap Singh is offline

  



All times are GMT -5. The time now is 11:10 PM.

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
Open Source Consulting | Domain Registration