Lines Matching refs:groupid
614 groupid=''
616 groupid="`(id -g ${username}) 2>/dev/null`"
617 if [ ".$groupid" = . ]; then
620 groupid=`echo $str | sed -e 's/^.*gid[ ]*=[ ]*//' -e 's/(.*$//'`
622 if [ ".$groupid" = . ]; then
623 groupid=`(getent passwd ${username}) 2>/dev/null | \
625 if [ ".$groupid" = . ]; then
626 groupid=`grep "^${username}:" /etc/passwd 2>/dev/null | \
628 if [ ".$groupid" = . ]; then
629 … groupid=`(ypmatch "${username}" passwd; nismatch "${username}" passwd) 2>/dev/null | \
631 if [ ".$groupid" = . ]; then
632 groupid=`(nidump passwd . | grep "^${username}:") 2>/dev/null | \
634 if [ ".$groupid" = . ]; then
635 groupid='?'
655 grep "^[^:]*:[^:]*:${groupid}:" | \
658 groupname=`grep "^[^:]*:[^:]*:${groupid}:" /etc/group 2>/dev/null | \
662 sed -e 'q' | grep "^[^:]*:[^:]*:${groupid}:" | \
666 grep "^[^:]*:[^:]*:${groupid}:" | \
758 -e "s/%G/${groupid}/g" \