how to check the home user in centos

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
qarar
Cadet
Posts: 8
Joined: Sat Sep 16, 2006 11:14 pm
Location: 1787
Contact:

how to check the home user in centos

Post by qarar »

can any body help me , how to check the home users in centos. i forget my user name . i remeber the root login and password but i forget the limited user name.
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

login as root, and type "cat /etc/passwd". if you can't remember the user's password, type "passwd username" -- whatever the username is.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Post Reply