home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright 1988, 1989, 1990, John F. Haugh II
- * All rights reserved.
- *
- * Use, duplication, and disclosure prohibited without
- * the express written permission of the author.
- */
-
- /*
- * This information is not derived from AT&T licensed sources. Posted
- * to the USENET 11/88.
- *
- * @(#)shadow.h 2.3 16:34:15 11/2/90
- */
-
- /*
- * Shadow password security file structure.
- */
-
- struct spwd {
- char *sp_namp; /* login name */
- char *sp_pwdp; /* encrypted password */
- long sp_lstchg; /* date of last change */
- long sp_max; /* maximum number of days between changes */
- long sp_min; /* minimum number of days between changes */
- };
-
- /*
- * Shadow password security file functions.
- */
-
- struct spwd *getspent ();
- struct spwd *getspnam ();
- struct spwd *sgetspent ();
- void setspent ();
- void endspent ();
- struct spwd *fgetspent ();
- int putspent ();
-
- #define SHADOW "/etc/shadow"
-