|
|
#include <shadow.h>
int putspent(const struct spwd *p, FILE *fp);
Unsafe
char *sp_namp; char *sp_pwdp; long sp_lstchg; long sp_min; long sp_max; long sp_warn; long sp_inact; long sp_expire; unsigned long sp_flag;
If the sp_min, sp_max, sp_lstchg, sp_warn, sp_inact, or sp_expire field of the spwd structure is -1, or if sp_flag is 0, the corresponding /etc/shadow field is cleared.
Do not use without also using putpwent() to update the password file.
The use of this function is discouraged.
|
|
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97