home *** CD-ROM | disk | FTP | other *** search
- /*
- * This information is not derived from AT&T licensed sources. Posted
- * to the USENET 11/88.
- */
-
- /*
- * Shadow password security file structure.
- */
-
- struct spwd {
- char *sp_namp; /* login name */
- char *sp_pwdp; /* encrypted password */
- long sp_lstchg; /* date of last change */
- int sp_max; /* maximum number of days between changes */
- int sp_min; /* minimum number of days between changes */
- };
-
- /*
- * Shadow password security file functions.
- */
-
- struct spwd *getspent ();
- struct spwd *getspnam ();
- void setspent ();
- void endspent ();
- struct spwd *fgetspent ();
- int putspent ();
-
- #define SHADOW "/etc/shadow"
-