LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 06-13-2006, 04:08 PM   #1
cruzzz01
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Question about information contained in Shadow Password file


I recently installed a LINUX OS on my system. Can some tell me what it means when "!!" is shown in the second field of the Shadow Password file after the account name? Does this mean a password is not assigned to that account?

Thanks!
 
Old 06-13-2006, 04:34 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The fields in /etc/shadow:

* Username — The name the user types when logging into the system. This allows the login application to retrieve the user's password (and related information).
* Encrypted password — The 13 to 24 character password. The password is encrypted using either the crypt(3) library function or the md5 hash algorithm. In this field, values other than a validly-formatted encrypted or hashed password are used to control user logins and to show the password status. For example, if the value is ! or *, the account is locked and the user is not allowed to log in. If the value is !! a password has never been set before (and the user, not having set a password, will not be able to log in).
* Date password last changed — The number of days since January 1, 1970 (also called the epoch) that the password was last changed. This information is used in conjunction with the password aging fields that follow.
* Number of days before password can be changed — The minimum number of days that must pass before the password can be changed.
* Number of days before a password change is required — The number of days that must pass before the password must be changed.
* Number of days warning before password change — The number of days before password expiration during which the user is warned of the impending expiration.
* Number of days before the account is disabled — The number of days after a password expires before the account will be disabled.
* Date since the account has been disabled — The date (stored as the number of days since the epoch) since the user account has been disabled.
* A reserved field
 
  


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
LXer: Recovering deleted /etc/shadow password file LXer Syndicated Linux News 0 12-21-2005 03:46 PM
How to encrypt a password to the /etc/shadow file? Milosevic Linux - Newbie 2 12-13-2005 02:14 PM
Apache and shadow password file fortezza Linux - Security 2 07-31-2005 06:49 PM
Shadow file question Timur Sakayev Linux - Security 4 06-07-2005 10:20 AM
PAM/shadow question: How do I force the password to be changed? clacour Linux - Security 1 03-25-2004 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:49 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