![Carlos Santos](/assets/img/avatar_default.png)
- Disable password file authentication, since it's not possible to have both at once. - Install a /etc/pam.d/sshd file, based on the one installed by openssh. Signed-off-by: Carlos Santos <casantos@datacom.com.br> Reviewed-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
8 lines
272 B
Plaintext
8 lines
272 B
Plaintext
#%PAM-1.0
|
|
auth required pam_unix.so shadow nodelay
|
|
account required pam_nologin.so
|
|
account required pam_unix.so
|
|
password required pam_unix.so shadow nullok use_authtok
|
|
session required pam_unix.so
|
|
session required pam_limits.so
|