Lines Matching refs:groupname
645 groupname=''
647 groupname="`(id -gn ${username}) 2>/dev/null`"
648 if [ ".$groupname" = . ]; then
651 groupname=`echo $str | sed -e 's/^.*gid[ ]*=[ ]*[0-9]*(//' -e 's/).*$//'`
653 if [ ".$groupname" = . ]; then
654 groupname=`(getent group) 2>/dev/null | \
657 if [ ".$groupname" = . ]; then
658 groupname=`grep "^[^:]*:[^:]*:${groupid}:" /etc/group 2>/dev/null | \
660 if [ ".$groupname" = . ]; then
661 groupname=`(ypcat group; niscat group) 2>/dev/null | \
664 if [ ".$groupname" = . ]; then
665 groupname=`(nidump group .) 2>/dev/null | \
668 if [ ".$groupname" = . ]; then
669 groupname='?'
757 -e "s/%g/${groupname}/g" \