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?
------------------------------------------------------------------------- | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net | | Kernel Developer | | pgoyette at netbsd.org | -------------------------------------------------------------------------