userconf
struct userconf *cnf;
static int (*funcs[W_NUM]) (struct userconf * _cnf, int _mode, struct cargs * _args) =
struct userconf *read_userconfig(char const * file);
int pw_user(struct userconf * cnf, int mode, struct cargs * _args);
int pw_group(struct userconf * cnf, int mode, struct cargs * _args);
void pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...) __printflike(4, 5);
struct userconf *
static struct userconf config =
gr_gidpolicy(struct userconf * cnf, struct cargs * args)
static gid_t gr_gidpolicy(struct userconf * cnf, struct cargs * args);
pw_group(struct userconf * cnf, int mode, struct cargs * args)
pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...)
pw_shellpolicy(struct userconf * cnf, struct cargs * args, char *newshell)
pw_password(struct userconf * cnf, struct cargs * args, char const * user)
static uid_t pw_uidpolicy(struct userconf * cnf, struct cargs * args);
static uid_t pw_gidpolicy(struct userconf * cnf, struct cargs * args, char *nam, gid_t prefer);
static time_t pw_pwdpolicy(struct userconf * cnf, struct cargs * args);
static time_t pw_exppolicy(struct userconf * cnf, struct cargs * args);
static char *pw_homepolicy(struct userconf * cnf, struct cargs * args, char const * user);
static char *pw_shellpolicy(struct userconf * cnf, struct cargs * args, char *newshell);
static char *pw_password(struct userconf * cnf, struct cargs * args, char const * user);
pw_uidpolicy(struct userconf * cnf, struct cargs * args)
pw_gidpolicy(struct userconf * cnf, struct cargs * args, char *nam, gid_t prefer)
pw_pwdpolicy(struct userconf * cnf, struct cargs * args)
pw_user(struct userconf * cnf, int mode, struct cargs * args)
pw_exppolicy(struct userconf * cnf, struct cargs * args)
pw_homepolicy(struct userconf * cnf, struct cargs * args, char const * user)