nmh-workers
[Top][All Lists]
Advanced

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

Re: [nmh-workers] I Could Have Sworn that the inc Command used to work.


From: Ken Hornstein
Subject: Re: [nmh-workers] I Could Have Sworn that the inc Command used to work.
Date: Tue, 04 Jun 2019 17:14:35 -0400

>May be so but this is allowed and getpwuid(geteuid()) will do the wrong
>thing for all but one login id sharing the same uid.

*shrug* I mean, yeah ... but so what?  It's allowed, but we already
use getpwuid(getuid()) and we don't get bug reports on it being problem.

>Practically speaking, pretty much all the programs I have seen use
>either $USER or $LOGNAME.

I do not believe that the common practice is to use USER or LOGNAME.
My informal survey is that using getpwuid(getuid()) is by far more
common.

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]