mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
* this compile time flag will set up faildelay, lock out upon 6 failed attempts during login via shell or console and enable password strength checks when changing password * this will set openssh usePam option * openssh and shadow-utils with PAM backend need to be selected for this compile time flag to work
7 lines
90 B
Bash
7 lines
90 B
Bash
#!/bin/sh
|
|
|
|
if [ -f /etc/config/sshd ]; then
|
|
uci -q set sshd.@sshd[0].UsePAM=1
|
|
fi
|
|
|
|
exit 0
|