diff options
Diffstat (limited to 'userdrake')
-rwxr-xr-x | userdrake | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -458,9 +458,9 @@ sub AddUser() { $dontcreatehomedir = 1; } if (!$error && $us->{o}{userid}->get_active) { - if (($u{uid} = $us->{o}{uid}->get_value) < 500) { - my $uidchoice = GimmeChoice(N("User Uid is < 500"), - N("Creating a user with a UID less than 500 is not recommended.\n Are you sure you want to do this?\n\n")); + if (($u{uid} = $us->{o}{uid}->get_value) < 1000) { + my $uidchoice = GimmeChoice(N("User Uid is < 1000"), + N("Creating a user with a UID less than 1000 is not recommended.\n Are you sure you want to do this?\n\n")); $uidchoice and $userEnt->Uid($u{uid}); } else { $userEnt->Uid($u{uid}) } } @@ -597,9 +597,9 @@ sub AddGroup() { } my $groupEnt = $ctx->InitGroup($g{groupname}, $is_system); if ($us->{o}{groupid}->get_active) { - if (($g{gid} = $us->{o}{gid}->get_value) < 500) { - my $gidchoice = GimmeChoice(N(" Group Gid is < 500"), - N("Creating a group with a GID less than 500 is not recommended.\n Are you sure you want to do this?\n\n")); + if (($g{gid} = $us->{o}{gid}->get_value) < 1000) { + my $gidchoice = GimmeChoice(N(" Group Gid is < 1000"), + N("Creating a group with a GID less than 1000 is not recommended.\n Are you sure you want to do this?\n\n")); $gidchoice and $groupEnt->Gid($g{gid}); } else { $groupEnt->Gid($g{gid}); |