summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-02-14 23:28:48 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-02-14 23:28:48 +0000
commitd40be87b27a714db7a459a0e6d4dcdad7814aea5 (patch)
treedc279b83276527b7abe6872567498420022f9f2f
parentbc67c24008245b45280ece1e36e3bed71ecfcaa2 (diff)
passwd.conf define.
-rw-r--r--include/pwd.h7
1 files changed, 6 insertions, 1 deletions
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 {