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

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

I don't think that any version of su modifie{d,s} utmp or wtmp or it

Would it be appropriate to update the su man-page to make this (more) clear?

| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at |
| Kernel Developer |                          | pgoyette at  |

Home | Main Index | Thread Index | Old Index