From ae5c4633974707111deaccca4fce48ed57a8709a Mon Sep 17 00:00:00 2001 From: davidn Date: Sat, 21 Dec 1996 15:35:45 +0000 Subject: 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. --- usr.sbin/pw/pw.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.sbin/pw/pw.h') diff --git a/usr.sbin/pw/pw.h b/usr.sbin/pw/pw.h index 57c9bce..7c8cff5 100644 --- a/usr.sbin/pw/pw.h +++ b/usr.sbin/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 @@ -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); -- cgit v1.1