LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 04-23-2008, 09:08 AM   #1
Rush_898
Member
 
Registered: Mar 2004
Distribution: debian...
Posts: 31

Rep: Reputation: 16
passwd -l...is there more too it?


I recently read that with "passwd -l" you can basically hash a users password so they are effectively locked out. But when I do

[root@Host pam.d]# passwd -l testuser
Locking password for user testuser.
passwd: Success

Once this has been done I can still log in with the username and password I set before I issued the command. Is there a step I am missing?
 
Old 04-23-2008, 09:20 AM   #2
efuzed
LQ Newbie
 
Registered: Dec 2004
Location: VA, US
Distribution: gentoo, redhat (old) sometimes deb
Posts: 12

Rep: Reputation: 0
set up a new account, set a password. run the password -l, check for write time on the passwd & shadow file, and see if the hash changed. Insert bug report.
 
  


Reply

Tags
passwords, security


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what does !! mean in /etc/passwd? tkubaska Linux - Security 10 07-23-2007 03:38 PM
Swat uses PAM but changes linux passwd not samba passwd Peter@KKVS Linux - Networking 0 11-26-2006 04:20 AM
/etc/passwd XaViaR Linux - General 1 06-13-2005 10:12 AM
can't passwd leihsun Linux - General 17 06-19-2002 05:37 AM
passwd Winter Linux - Security 2 05-01-2002 05:13 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration