diff options
author | davidn <davidn@FreeBSD.org> | 1996-12-21 15:35:45 +0000 |
---|---|---|
committer | davidn <davidn@FreeBSD.org> | 1996-12-21 15:35:45 +0000 |
commit | ae5c4633974707111deaccca4fce48ed57a8709a (patch) | |
tree | a19b414da205cc5b6cb7bfd7df7d715f90b3c13f /usr.sbin/pw/pw.h | |
parent | 705d04d9c464156ec9eec74e0154ef19287ddeca (diff) | |
download | FreeBSD-src-ae5c4633974707111deaccca4fce48ed57a8709a.zip FreeBSD-src-ae5c4633974707111deaccca4fce48ed57a8709a.tar.gz |
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 'usr.sbin/pw/pw.h')
-rw-r--r-- | usr.sbin/pw/pw.h | 5 |
1 files changed, 2 insertions, 3 deletions
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 <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); |