On Thursday 21 June 2007 10:04, Razi Khaja wrote:
> Hello,
>
> Just a quick question.  What is /etc/hushlogins and what is it used
> for?

It's meant to control which users (or shells) are prevented from seeing 
the usual "greeting" messages upon successful login. It can contain the 
names of users or shells and whenever those users of one the listed 
shells logs in, the usual greeting (contents of /etc/issue 
and /etc/motd, e.g.) are suppressed.

It's only active if this line (not commented) appears somewhere 
in /etc/login.defs:

HUSHLOGIN_FILE  /etc/hushlogins


> Mine is a nearly empty file, it only contains a newline 
> character. What is  peculiar is that the file was created in 1994 

Same here:

% ls -l /etc/hushlogins
-rw-r--r--  1 root root 1 1994-01-08 15:30 /etc/hushlogins


> (my openSUSE 10.2 was installed  in may 2007).
> Could this be indicative of an intrusion?
> Any feedback would be appreciated.
>
> -rw-r--r--  1 root  root         1 1994-01-08 18:30 hushlogins

(Presumably you and I are separated by three timezones—you being in the 
U.S. Eastern zone and me in the Pacific zone.)


> Thanks
> Razi


Randall Schulz
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to