1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

r8539: $LOGNAME is a common varient of $USER on some systems

(This used to be commit e571d6a36bdf61aaab383e05c857347838de4c1d)
This commit is contained in:
Andrew Tridgell 2005-07-18 08:30:32 +00:00 committed by Gerald (Jerry) Carter
parent 8e824d4d04
commit f293c2d163

View File

@ -5,6 +5,9 @@ REALM=$DOMAIN
PASSWORD=penguin
SRCDIR=`pwd`
ROOT=$USER
if test -z "$ROOT"; then
ROOT=$LOGNAME
fi
if test -z "$ROOT"; then
ROOT=`whoami`
fi