Use lastlog in sshrc

This commit is contained in:
Victor LABORIE 2019-01-08 11:11:47 +01:00
parent b1905eeffe
commit 16d19b4a28

4
tpl/sshrc Normal file → Executable file
View file

@ -1,5 +1,3 @@
#!/bin/sh
# lastlog -S isn't available in login package on Debian Jessie (need Debian Stretch or superior)
#/usr/bin/lastlog -Su root
/usr/bin/touch /var/log/lastlog
/usr/bin/lastlog -Su root