 Listing 2 - getparms

  #!/bin/sh

  line=`grep "^"$1" " /usr/user/priv.users`
  a=$?

  if  [ $a != 0 ]
  then
     line=`grep "DEFAULT" /usr/user/priv.users`
  fi

  echo $line | awk ' { print $2, $3 } '

