LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2008, 06:31 PM   #16
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled

You want to find out who does not have a password?
 
Old 01-20-2008, 01:38 AM   #17
zeynep
Member
 
Registered: Jan 2008
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Goodmorging,
A would like to list paswodless of the sisytem users.And would like to save them to the /etc/paswordless.

Thank you.
 
Old 01-20-2008, 04:39 AM   #18
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Code:
awk -F: '$2 !~ /[a-zA-Z0-9]/ {print $1}' /etc/shadow
And this is quite different from your initial request.

And that information isn't stored in the passwd file.


Cheers,
Tink

Last edited by Tinkster; 01-20-2008 at 04:40 AM.
 
Old 01-20-2008, 05:47 AM   #19
zeynep
Member
 
Registered: Jan 2008
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Thinkster thank you,

yes its different but related with my first question

but giving fatal error i think direction > missing isint it

says permission error for read shadow
 
Old 01-20-2008, 07:15 AM   #20
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
try to use john the ripper if you are intrested to get the passwords
 
Old 01-20-2008, 12:03 PM   #21
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by zeynep View Post
Thinkster thank you,

yes its different but related with my first question

but giving fatal error i think direction > missing isint it

says permission error for read shadow
You need to be root to do that. That's the whole point
of the shadow suite - ordinary users can't read the file.

Quote:
originally by shahz
try to use john the ripper if you are intrested to get the passwords
And if you're NOT root john the ripper won't do you any
good, either, because you need to join passwd & shadow
to make use of john.



Cheers,
Tink
 
Old 01-21-2008, 01:08 AM   #22
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
as root: passwd -S whatever_user_name will give the account status for a user the output of which you can parse away on. man passwd
 
  


Reply



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
Sendmail: How to make only users in hosts can send to mailing lists? batbayar Linux - Server 3 05-08-2007 01:22 AM
I need lists deathbyswiftwin Linux - General 4 04-21-2006 07:10 PM
Winbind lists AD users, but doesn't map them Thakowbbery Linux - Networking 1 08-02-2005 01:09 PM
a vector containing lists Kroenecker Programming 3 07-23-2005 01:03 AM
Mailing Lists Orwick Alefgard Linux - General 3 08-22-2003 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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