summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2001-07-06 15:39:37 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2001-07-06 15:39:37 +0000
commit0add8571acbc1c0b0e59c76fc0e05e3becd1f773 (patch)
tree9fe44861c4a96b418786445f81d5b6df36ac2fcf
parent88a155eb0e0435dc4a024f91dd9de3aaa397b80a (diff)
max uid should be 2147483647, not 2147483648.
problem report from: Chris Cameron <chris@UpNIX.com> millert@ ok
-rw-r--r--usr.sbin/adduser/adduser.perl6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl
index 44ee406727f..207cea9f5ee 100644
--- a/usr.sbin/adduser/adduser.perl
+++ b/usr.sbin/adduser/adduser.perl
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
-# $OpenBSD: adduser.perl,v 1.29 2001/04/09 18:31:36 deraadt Exp $
+# $OpenBSD: adduser.perl,v 1.30 2001/07/06 15:39:36 mpech Exp $
#
# Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
# All rights reserved.
@@ -89,7 +89,7 @@ sub variables {
$group = "/etc/group";
$pwd_mkdb = "pwd_mkdb -p"; # program for building passwd database
$encryptionmethod = "blowfish";
- $rcsid = '$OpenBSD: adduser.perl,v 1.29 2001/04/09 18:31:36 deraadt Exp $';
+ $rcsid = '$OpenBSD: adduser.perl,v 1.30 2001/07/06 15:39:36 mpech Exp $';
# List of directories where shells located
@path = ('/bin', '/usr/bin', '/usr/local/bin');
@@ -103,7 +103,7 @@ sub variables {
$defaultgroup = $group_uniq;# login groupname, $group_uniq means username
$uid_start = 1000; # new users get this uid
- $uid_end = 2147483648; # max. uid
+ $uid_end = 2147483647; # max. uid
# global variables
# passwd