„install.sh“ ändern
This commit is contained in:
parent
0f9847faf7
commit
d4e0df1c37
@ -8,7 +8,7 @@ echo PUSHOVER_MESSAGE_TEXT=" $userkey " | cat - sshlogin.sh > temp && mv temp ss
|
||||
echo '#!/bin/bash' | cat - sshlogin.sh > temp && mv temp sshlogin.sh
|
||||
chmod +x sshlogin.sh
|
||||
chmod +x pushover.sh
|
||||
mdkir /opt/push
|
||||
mkdir /opt/push
|
||||
cp pushover.sh /opt/push/
|
||||
cp sshlogin.sh /usr/local/bin/
|
||||
echo "session optional pam_exec.so seteuid /usr/local/bin/sshlogin.sh" >> /etc/pam.d/sshd
|
||||
|
Loading…
Reference in New Issue
Block a user