From: provos Date: Fri, 14 Feb 1997 23:28:47 +0000 (+0000) Subject: passwd.conf define. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f84c86fd4f091b6aa395ef5d4bfdcc248d4cd964;p=openbsd passwd.conf define. --- diff --git a/include/pwd.h b/include/pwd.h index d473a7101ef..e94330b1ee1 100644 --- a/include/pwd.h +++ b/include/pwd.h @@ -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 $ */ /*- @@ -49,6 +49,7 @@ #ifndef _POSIX_SOURCE #define _PATH_PASSWD "/etc/passwd" +#define _PATH_PASSWDCONF "/etc/passwd.conf" #define _PATH_MASTERPASSWD "/etc/master.passwd" #define _PATH_MASTERPASSWD_LOCK "/etc/ptmp" @@ -72,6 +73,10 @@ #define _PASSWORD_NOCHG 0x04 /* flag for no specified change. */ #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 struct passwd {