diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-07-30 18:09:38 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-07-30 18:09:38 (GMT) |
commit | 8d0da02c44468259ed688e93d6a9ab2d9cea1400 (patch) | |
tree | bd8797cbadf3710217f2cd26bf3f4e67b0b549c7 /utils/rd-user | |
parent | 9fa3420ae118b880690bcbb62c049f96c72e0dc8 (diff) |
no more special characters for passwords as rmlsend and others don't like it
added login/logout script for workstations
Diffstat (limited to 'utils/rd-user')
-rwxr-xr-x | utils/rd-user | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rd-user b/utils/rd-user index 520a653..019f004 100755 --- a/utils/rd-user +++ b/utils/rd-user @@ -47,7 +47,7 @@ if(defined $dbh) { RHRD::rddb::closedb($dbh); exit $result; } elsif($cmd eq "add") { - my $token = mkpasswd(-length => 16, -minnum => 3, -minupper => 3, -minspecial => 2); + my $token = mkpasswd(-length => 16, -minnum => 3, -minupper => 3, -minspecial => 0); (my $cnt, undef, $errorstring) = RHRD::rddb::add_user($dbh, $username, $token); unless(defined $cnt) { print "$errorstring\n"; |