Cyrille Lefevre writes:
> sunos, login(1) both set USER and LOGNAME using pwd->pw_name
...
> solaris, login(1) only set LOGNAME
...
> sys5r4, same as solaris, but
...
> irix, login(1) and logname(1) does as sunos
...
> osf1, login(1) does as sunos, logname(1) as solaris
At least historically, HP
Le 31/05/2010 13:22, Andy Koppe a écrit :
Posix defines LOGNAME, but regarding USER it only says that it is
"unwise to conflict with certain variables that are frequently
exported by widely used command interpreters and applications".
(http://opengroup.org/onlinepubs/007908799/xbd/envvar.html)
2 matches
Mail list logo