LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 06-30-2008, 10:32 AM   #1
eponcedeleonc
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Rep: Reputation: 0
How to list users and passwords


Ok, i know how to list all my users but how can I list their passwords to. I am logged in as root but cant find the command to list their passwords. thank you
Eduardo

Last edited by eponcedeleonc; 06-30-2008 at 10:34 AM.
 
Old 06-30-2008, 10:35 AM   #2
eponcedeleonc
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Unhappy How to list users and passwords

Ok, i know how to list all my users but how can I list their passwords to. I am logged in as root but cant find the command to list their passwords. thank you
Eduardo
 
Old 06-30-2008, 10:39 AM   #3
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
If you using any good recent flavor of linux you can find the passwords in /etc/shadow

 
Old 06-30-2008, 10:43 AM   #4
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
please don't do multiple post on the same subject.

 
Old 06-30-2008, 10:54 AM   #5
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
your first out of three posts followed this one:
http://www.linuxquestions.org/questi...40#post3019240
Can't do more than that - passwords are not stored in plain text.
 
Old 06-30-2008, 10:58 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The passwords in /etc/shadow are encrypted though. I'm not sure there is a command to show them unencrypted.
 
Old 06-30-2008, 11:00 AM   #7
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 59
You can't straightforwardly see their passwords - not even as root - can you? The passwords in /etc/shadow are encrypted. Edit - too slow. What he ^^ said, except that I don't think there's a command to show users' passwords. At least, I hope there isn't.

Why do you want to see their passes? Or, another way around, what do you really want to do?

Last edited by Telemachos; 06-30-2008 at 11:02 AM.
 
Old 06-30-2008, 11:40 AM   #8
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,117
Blog Entries: 2

Rep: Reputation: 113Reputation: 113
If your talking about their normal login passwords, you can't list them. They are normally stored in /etc/shadow crypted with a one-way hash (like md5). They aren't directly recoverable.
 
Old 06-30-2008, 02:34 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
1 post on the subject is plenty
http://www.linuxquestions.org/questi...93#post3199293
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Users without passwords ahmedb72 Solaris / OpenSolaris 1 08-22-2007 06:05 AM
passwords for new users r.stiltskin Linux - Security 2 02-08-2006 06:21 AM
Users ressetting passwords pbickerd Linux - Security 4 01-11-2006 02:05 PM
remove passwords from all users? paul_mat Linux - Networking 2 06-23-2005 06:59 PM
Help with users and passwords???? graystarr Linux - Software 3 04-21-2003 10:40 AM


All times are GMT -5. The time now is 04:16 PM.

Main Menu
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