#!/bin/sh
#
#

DEFAULT_GRP="nogroup"


#
#
GRP=`groups $1| awk -F" " '{print $3}'`
if [ "$GRP" = "" ]; then
    GRP=$DEFAULT_GRP
fi 
echo $GRP
