Browse Source

Use lastlog in sshrc

tags/2.0.0
Victor Laborie 1 year ago
parent
commit
16d19b4a28
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      tpl/sshrc

+ 1
- 3
tpl/sshrc 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

Loading…
Cancel
Save