summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorphil <phil@NetBSD.org>1995-07-28 05:30:52 +0000
committerphil <phil@NetBSD.org>1995-07-28 05:30:52 +0000
commit6452a2f618977e6b6bb99c367466c8a403623948 (patch)
tree8dfb69c26c69d656ff63055525ab436f2df1cb18 /include
parenta2f49ac9308693eb5d136383a4e04b22b5fed3e7 (diff)
Improvements to YP support from Jason Downs.
Diffstat (limited to 'include')
-rw-r--r--include/pwd.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 6c64c4c9936..767ae19d3e5 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pwd.h,v 1.7 1995/04/29 05:30:00 cgd Exp $ */
+/* $NetBSD: pwd.h,v 1.8 1995/07/28 05:30:52 phil Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -8,6 +8,7 @@
* to the University of California by American Telephone and Telegraph
* Co. or Unix System Laboratories, Inc. and are reproduced herein with
* the permission of UNIX System Laboratories, Inc.
+ * Portions Copyright(C) 1995, Jason Downs. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -61,6 +62,12 @@
#define _PASSWORD_EFMT1 '_' /* extended encryption format */
#define _PASSWORD_LEN 128 /* max length, not counting NULL */
+
+#define _PASSWORD_NOUID 0x01 /* flag for no specified uid. */
+#define _PASSWORD_NOGID 0x02 /* flag for no specified gid. */
+#define _PASSWORD_NOCHG 0x04 /* flag for no specified change. */
+#define _PASSWORD_NOEXP 0x08 /* flag for no specified expire. */
+
#endif
struct passwd {