Lines Matching refs:username
551 username=''
553 username="`(id -un) 2>/dev/null`"
554 if [ ".$username" = . ]; then
557 username=`echo $str | sed -e 's/^uid[ ]*=[ ]*[0-9]*(//' -e 's/).*$//'`
559 if [ ".$username" = . ]; then
560 username="$LOGNAME"
561 if [ ".$username" = . ]; then
562 username="$USER"
563 if [ ".$username" = . ]; then
564 username="`(whoami) 2>/dev/null |\
566 if [ ".$username" = . ]; then
567 username="`(who am i) 2>/dev/null |\
569 if [ ".$username" = . ]; then
570 username='unknown'
584 userid="`(id -u ${username}) 2>/dev/null`"
591 userid=`(getent passwd ${username}) 2>/dev/null | \
594 userid=`grep "^${username}:" /etc/passwd 2>/dev/null | \
597 … userid=`(ypmatch "${username}" passwd; nismatch "${username}" passwd) 2>/dev/null | \
600 userid=`(nidump passwd . | grep "^${username}:") 2>/dev/null | \
616 groupid="`(id -g ${username}) 2>/dev/null`"
623 groupid=`(getent passwd ${username}) 2>/dev/null | \
626 groupid=`grep "^${username}:" /etc/passwd 2>/dev/null | \
629 … groupid=`(ypmatch "${username}" passwd; nismatch "${username}" passwd) 2>/dev/null | \
632 groupid=`(nidump passwd . | grep "^${username}:") 2>/dev/null | \
647 groupname="`(id -gn ${username}) 2>/dev/null`"
755 -e "s/%u/${username}/g" \