"Fossies" - the Fresh Open Source Software Archive

Member "passwd_exp-1.2.11/mod/shadow.linux.info" (10 Nov 2005, 1377 Bytes) of package /linux/privat/old/passwd_exp-1.2.11.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 User list from GNU/Linux shadow file.
    2 
    3 --- MORE INFO ---
    4 
    5 -----------------
    6 SHADOW DATABASE -
    7 -----------------
    8 	There were some questions about some shadow file internals, so
    9   here something about it (or try `man shadow'):
   10   Shadow file records looks like:
   11 name:password:change_last:change_may:change_must:change_warn:inactive_max:expire_date
   12   
   13   name		- name
   14   password 	- password
   15   change_last	- time user last changed his/her password
   16   change_may	- minimum time before user can change his/her password
   17   change_must	- maximum time user doesn't need to change the password
   18 		  if he will not change it. It might get locked or account
   19 		  can get in to the inactivation stage.
   20   change_warn	- time before user password expiration, the system will
   21 		  warn the user to change his/her password
   22   inactive_max	- maximum time, account can stay inactive, after user has not
   23 		  changed his/her password, before it gets locked.
   24 		  If 0 or not set, account gets never locked.
   25   expire_date	- date account will be locked (ie. commercial accounts)
   26 
   27 
   28 -------------------
   29   * All times are in the form of the days since the Epoch (little info:
   30 	no warning software takes care about the leap years !!!
   31 	This can be a problem in some hundreds of year when leap years day
   32 	problem will be significantly visible :)))
   33 
   34 	I call this `LINUX SHADOW LEAP YEARS BUG' (SLYB), be AWARE !!! :)