diff options
| author | Mystery Man <unknown@mandriva.org> | 2002-12-13 10:14:31 +0000 |
|---|---|---|
| committer | Mystery Man <unknown@mandriva.org> | 2002-12-13 10:14:31 +0000 |
| commit | b998b624e9da5711fca0821b69c9d23d3487e98c (patch) | |
| tree | 7a5e4bdddddd51c9922ea09ae4acaf8e5e02f22b /share | |
| parent | bc39751b4ff6f71f9638e4614885cef1a971db48 (diff) | |
| download | msec-0_32_1_1mdk.tar msec-0_32_1_1mdk.tar.gz msec-0_32_1_1mdk.tar.bz2 msec-0_32_1_1mdk.tar.xz msec-0_32_1_1mdk.zip | |
This commit was manufactured by cvs2svn to create tag 'V0_32_1_1mdk'.V0_32_1_1mdk
Diffstat (limited to 'share')
| -rw-r--r-- | share/libmsec.py | 2 | ||||
| -rwxr-xr-x | share/msec.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/share/libmsec.py b/share/libmsec.py index b98b460..f88e2c5 100644 --- a/share/libmsec.py +++ b/share/libmsec.py @@ -915,7 +915,7 @@ UCREDIT_REGEXP = re.compile('^(password\s+required\s+/lib/security/pam_cracklib. def password_length(length, ndigits=0, nupper=0): ''' Set the password minimum length and minimum number of digit and minimum number of capitalized letters.''' - passwd = ConfigFile.get_config_file(SYSTEM_AUTH) + passwd = ConfigFile.get_config_file(PASSWD) val_length = val_ndigits = val_ucredit = 999999 diff --git a/share/msec.py b/share/msec.py index 4afc3b1..8f95836 100755 --- a/share/msec.py +++ b/share/msec.py @@ -170,7 +170,7 @@ if level >= 4: allow_reboot(no) enable_at_crontab(no) if level == 4: - password_aging(60, 30) + password_aging(99999) allow_remote_root_login(without_password) else: password_aging(30, 15) |
