summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1997-06-27 16:20:59 +0000
committerlukem <lukem@NetBSD.org>1997-06-27 16:20:59 +0000
commite7fb77dafb13001043c3a6fefaee20bf591b1608 (patch)
tree008b1e27bb04d1d28eb63c8b86e9953751be023f /include
parent80e31290c5aaa1d74b2bc07c4c547baaa871cedc (diff)
Define _PASSWORD_WARNDAYS to 14. When a password or account expiry is due
at a time less than this, login(1) et al will warn the user.
Diffstat (limited to 'include')
-rw-r--r--include/pwd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 7493ee92dc5..c6a76b57cdf 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */
+/* $NetBSD: pwd.h,v 1.10 1997/06/27 16:20:59 lukem Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -69,6 +69,7 @@
#define _PASSWORD_NOCHG 0x04 /* flag for no specified change. */
#define _PASSWORD_NOEXP 0x08 /* flag for no specified expire. */
+#define _PASSWORD_WARNDAYS 14 /* days to warn about expiry */
#endif
struct passwd {