Index: pw.8 =================================================================== RCS file: /exports/cvsroot-freebsd/src/usr.sbin/pw/pw.8,v retrieving revision 1.44 diff -u -r1.44 pw.8 --- pw.8 8 Oct 2010 12:40:16 -0000 1.44 +++ pw.8 28 Jun 2011 16:38:34 -0000 @@ -624,7 +624,7 @@ These options set the minimum and maximum user and group ids allocated for new accounts and groups created by .Nm . -The default values for each is 1000 minimum and 32000 maximum. +The default values for each is 10000 minimum and 32000 maximum. .Ar min and .Ar max Index: pw.conf.5 =================================================================== RCS file: /exports/cvsroot-freebsd/src/usr.sbin/pw/pw.conf.5,v retrieving revision 1.16 diff -u -r1.16 pw.conf.5 --- pw.conf.5 30 Mar 2007 11:23:10 -0000 1.16 +++ pw.conf.5 28 Jun 2011 16:38:05 -0000 @@ -275,7 +275,7 @@ .Ar maxgid keywords determine the allowed ranges of automatically allocated user and group id numbers. -The default values for both user and group ids are 1000 and 32000 as +The default values for both user and group ids are 10000 and 32000 as minimum and maximum respectively. The user and group id's actually used when creating an account with .Xr pw 8 Index: pw_conf.c =================================================================== RCS file: /exports/cvsroot-freebsd/src/usr.sbin/pw/pw_conf.c,v retrieving revision 1.16 diff -u -r1.16 pw_conf.c --- pw_conf.c 8 Mar 2011 20:13:29 -0000 1.16 +++ pw_conf.c 28 Jun 2011 16:36:53 -0000 @@ -98,8 +98,8 @@ NULL, /* Default group name */ NULL, /* Default (additional) groups */ NULL, /* Default login class */ - 1000, 32000, /* Allowed range of uids */ - 1000, 32000, /* Allowed range of gids */ + 10000, 32000, /* Allowed range of uids */ + 10000, 32000, /* Allowed range of gids */ 0, /* Days until account expires */ 0, /* Days until password expires */ 0 /* size of default_group array */ Index: pw_group.c =================================================================== RCS file: /exports/cvsroot-freebsd/src/usr.sbin/pw/pw_group.c,v retrieving revision 1.16 diff -u -r1.16 pw_group.c --- pw_group.c 23 Feb 2008 01:25:22 -0000 1.16 +++ pw_group.c 28 Jun 2011 16:37:10 -0000 @@ -360,7 +360,7 @@ * highest possible unused gid */ if (cnf->min_gid >= cnf->max_gid) { /* Sanity claus^H^H^H^Hheck */ - cnf->min_gid = 1000; + cnf->min_gid = 10000; cnf->max_gid = 32000; } bm = bm_alloc(cnf->max_gid - cnf->min_gid + 1); Index: pw_user.c =================================================================== RCS file: /exports/cvsroot-freebsd/src/usr.sbin/pw/pw_user.c,v retrieving revision 1.69 diff -u -r1.69 pw_user.c --- pw_user.c 15 Jun 2011 19:09:58 -0000 1.69 +++ pw_user.c 28 Jun 2011 16:37:44 -0000 @@ -271,13 +271,13 @@ errx(EX_DATAERR, "can't combine `-D' with `-n name'"); if ((arg = getarg(args, 'u')) != NULL && (p = strtok(arg->val, ", \t")) != NULL) { if ((cnf->min_uid = (uid_t) atoi(p)) == 0) - cnf->min_uid = 1000; + cnf->min_uid = 10000; if ((p = strtok(NULL, " ,\t")) == NULL || (cnf->max_uid = (uid_t) atoi(p)) < cnf->min_uid) cnf->max_uid = 32000; } if ((arg = getarg(args, 'i')) != NULL && (p = strtok(arg->val, ", \t")) != NULL) { if ((cnf->min_gid = (gid_t) atoi(p)) == 0) - cnf->min_gid = 1000; + cnf->min_gid = 10000; if ((p = strtok(NULL, " ,\t")) == NULL || (cnf->max_gid = (gid_t) atoi(p)) < cnf->min_gid) cnf->max_gid = 32000; } @@ -822,7 +822,7 @@ */ if (cnf->min_uid >= cnf->max_uid) { /* Sanity * claus^H^H^H^Hheck */ - cnf->min_uid = 1000; + cnf->min_uid = 10000; cnf->max_uid = 32000; } bm = bm_alloc(cnf->max_uid - cnf->min_uid + 1);