cat /etc/login.defs
--skip--
################# OBSOLETED BY PAM ##############
# #
# These options are now handled by PAM. Please #
# edit the appropriate file in /etc/pam.d/ to #
# enable the equivelants of them.
#
###############
--skip--
#LASTLOG_ENAB
--skip--
cat /etc/pam.d/login |grep last
# Prints the last login info upon succesful login
session optional pam_lastlog.so
Никита пишет:
Что-то не вкурю, почему Last Login не пишется при логине?
Уже прописал даже, а всё равно не пишется.
cat /etc/login.defs | grep LASTLOG
LASTLOG_ENAB yes
cat /etc/ssh/sshd_config | grep LastLog
PrintLastLog yes
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-- Benjamin Franklin, 1759
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]