From 16d19b4a28ded5e714e3aed062d3fb5cd47024e2 Mon Sep 17 00:00:00 2001 From: Victor LABORIE Date: Tue, 8 Jan 2019 11:11:47 +0100 Subject: [PATCH] Use lastlog in sshrc --- tpl/sshrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) mode change 100644 => 100755 tpl/sshrc diff --git a/tpl/sshrc b/tpl/sshrc old mode 100644 new mode 100755 index 78266bb..015983f --- a/tpl/sshrc +++ b/tpl/sshrc @@ -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