Browse Source

passwd.conf define.

OPENBSD_2_1
provos 28 years ago
parent
commit
9d96438fd6
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      src/include/pwd.h

+ 6
- 1
src/include/pwd.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: pwd.h,v 1.3 1996/10/16 09:08:27 downsj Exp $ */
/* $OpenBSD: pwd.h,v 1.4 1997/02/14 23:28:47 provos Exp $ */
/* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */ /* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */
/*- /*-
@ -49,6 +49,7 @@
#ifndef _POSIX_SOURCE #ifndef _POSIX_SOURCE
#define _PATH_PASSWD "/etc/passwd" #define _PATH_PASSWD "/etc/passwd"
#define _PATH_PASSWDCONF "/etc/passwd.conf"
#define _PATH_MASTERPASSWD "/etc/master.passwd" #define _PATH_MASTERPASSWD "/etc/master.passwd"
#define _PATH_MASTERPASSWD_LOCK "/etc/ptmp" #define _PATH_MASTERPASSWD_LOCK "/etc/ptmp"
@ -72,6 +73,10 @@
#define _PASSWORD_NOCHG 0x04 /* flag for no specified change. */ #define _PASSWORD_NOCHG 0x04 /* flag for no specified change. */
#define _PASSWORD_NOEXP 0x08 /* flag for no specified expire. */ #define _PASSWORD_NOEXP 0x08 /* flag for no specified expire. */
#define _PASSWORD_OLD 1 /* Old Unix style passwords */
#define _PASSWORD_NSALT 2 /* Use extended salt + DES */
#define _PASSWORD_BLF 3 /* Adaptable Blowfish hash */
#endif #endif
struct passwd { struct passwd {


Loading…
Cancel
Save