summaryrefslogtreecommitdiffstats
path: root/pw/pw.h
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>1996-12-21 15:35:45 +0000
committerDavid Nugent <davidn@FreeBSD.org>1996-12-21 15:35:45 +0000
commitecd99f44c4d804b6066da1e3600597cb0193e3ec (patch)
tree289dcb1b3967e8a9f062524d7bcc363855322a20 /pw/pw.h
parent8190d274530149353be5a67c1e345aba46555967 (diff)
downloadpw-darwin-ecd99f44c4d804b6066da1e3600597cb0193e3ec.tar.gz
pw-darwin-ecd99f44c4d804b6066da1e3600597cb0193e3ec.tar.zst
pw-darwin-ecd99f44c4d804b6066da1e3600597cb0193e3ec.zip
1) 200 users per group limitation removed and pw
will handle lines of any length in /etc/group. 2) Fixed bug with usermod -d not updating user's home directory. 3) Minor formatting display changes/fixes with *show -P.
Diffstat (limited to 'pw/pw.h')
-rw-r--r--pw/pw.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/pw/pw.h b/pw/pw.h
index 57c9bce..7c8cff5 100644
--- a/pw/pw.h
+++ b/pw/pw.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pw.h,v 1.1.1.3 1996/12/10 23:58:59 joerg Exp $
+ * $Id: pw.h,v 1.2 1996/12/19 15:22:42 davidn Exp $
*/
#include <stdio.h>
@@ -86,12 +86,12 @@ struct userconf
gid_t min_gid, max_gid; /* Allowed range of gids */
int expire_days; /* Days to expiry */
int password_days; /* Days to password expiry */
+ int numgroups; /* (internal) size of default_group array */
};
#define _PATH_PW_CONF "/etc/pw.conf"
#define _UC_MAXLINE 1024
#define _UC_MAXSHELLS 32
-#define _UC_MAXGROUPS 200
struct userconf *read_userconfig(char const * file);
int write_userconfig(char const * file);
@@ -111,7 +111,6 @@ int fmtpwent(char *buf, struct passwd * pwd);
int addgrent(struct group * grp);
int delgrent(struct group * grp);
int chggrent(char const * login, struct group * grp);
-int fmtgrent(char *buf, struct group * grp);
int boolean_val(char const * str, int dflt);
char const *boolean_str(int val);