Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: su -l does not update last or lastlogin data



In article <Pine.NEB.4.64.1211211104220.13951%screamer.whooppee.com@localhost>,
Paul Goyette  <paul%whooppee.com@localhost> wrote:
>On Wed, 21 Nov 2012, Christos Zoulas wrote:
>
>>> Not sure if this is a bug or feature, but I've noticed that 'su -l'
>>> doesn't seem to update the appropriate databases.  Based on the man page
>>> which says "simulates full login" I would expect it to be updated.
>>>
>>> So, is this a bug?
>>>
>>> Or is it working as designed?   And should the man page be updated
>>> accordingly?
>>
>> I don't think that any version of su modifie{d,s} utmp or wtmp or it
>> should...
>
>Would it be appropriate to update the su man-page to make this (more) 
>clear?

Go for it.

christos



Home | Main Index | Thread Index | Old Index