> On Sat, 28 Jun 2008, intrigeri wrote:

>> ,----
>> | /var/log/lastlog
>> `----
>> 
>> I could find no authoritative document saying if it has to exist or
>> not. Anyway, the default /etc/pam.d/login provided by the login
>> package enables the pam_lastlog.so module, that not only "prints the
>> last login info upon successful login" as advertised, but also creates
>> /var/log/lastlog if it does not exist. [...]

> Hmm, are you sure? I have checked and such thing does not happen in my system.

I just checked once more; steps to reproduce:
- rm /var/log/lastlog
- in /etc/pam.d/login, enable the pam_lastlog (in case you have
  disabled it - it’s enabled by default)
- go to a text console (I mean CTRL-ALT-F1)
- enter login/password
- and... /var/log/lastlog has reappeared.

I have login 1:4.1.1-3 and libpam-modules 1.0.1-3.

This obviously does not happen when logging via ssh/gdm/..., since
these do not use /etc/pam.d/login at all.

Bye,
-- 
  intrigeri <[EMAIL PROTECTED]>
  | Avoir le premier geste et pas le dernier mot.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to