Setting LOGNAME in every login shell is required by POSIX. There's no such requirement for USER. The best practice is to bootstrap USER from LOGNAME wherever it's used. The environ(7) man page should be updated to reflect this.
Setting LOGNAME in every login shell is required by POSIX. There's no such requirement for USER. The best practice is to bootstrap USER from LOGNAME wherever it's used. The environ(7) man page should be updated to reflect this.