Preserving User Information

mlh at mlh at
Fri Feb 6 04:48:10 EST 2004

On Thu, 5 Feb 2004 10:47:51 -0800
Stephen Carville <stephen at> wrote:

> Another person suggested I use 'lognme' which seem to work OK.

lognme?  Do you mean logname?  Or the variable LOGNAME?

It's not clear whether that is always the original user.

'who am i' is documented as such though, more precisely
'the user associated with stdin'


More information about the sudo-users mailing list