Changed things in pam again
This commit is contained in:
parent
a6026d027f
commit
f59020280c
1 changed files with 2 additions and 2 deletions
|
@ -158,10 +158,10 @@ auth optional pam_faildelay.so delay=5000000
|
||||||
|
|
||||||
Which will add a 5 second delay between login attempts.
|
Which will add a 5 second delay between login attempts.
|
||||||
|
|
||||||
The system can also enforce a stronger hash algorithm for a more secure login protector. Edit the file `/etc/pam.d/passwd` and add the line:
|
The system can also enforce a stronger hash algorithm for a more secure login protector. Edit the file `/etc/pam.d/base-password` and add the line:
|
||||||
|
|
||||||
```
|
```
|
||||||
password required pam_unix.so use_authtok sha512 shadow nullok rounds=1000000
|
password required pam_unix.so nullock sha512 shadow rounds=1000000
|
||||||
```
|
```
|
||||||
|
|
||||||
Then change your password so that it's also secure:
|
Then change your password so that it's also secure:
|
||||||
|
|
Loading…
Reference in a new issue