]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login: use HUSHLOGIN_FILE from login.defs
authorKarel Zak <kzak@redhat.com>
Wed, 5 Oct 2011 21:39:14 +0000 (23:39 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 26 Oct 2011 21:17:17 +0000 (23:17 +0200)
commit84d3c9ffb3df124a078555d35fa7c8acd73dad01
tree294f224fe937b2ee3e1ce5682f8f2271d5abff1b
parent45d0a30ea385fc8e32caba256c93d44c3f2b535c
login:  use HUSHLOGIN_FILE from login.defs

Note that Suse login(1) does not use any default for HUSHLOGIN_FILE.
We use /etc/hushlogins and ~/.hushlogin as default.

The another difference is that *empty* global (e.g. /etc/hushlogins)
means that hushed mode will be enabled for all accounts.

Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/login.1
login-utils/login.c