#!/bin/sh
# $NetBSD: script1,v 1.2 2004/03/09 20:06:42 garbled Exp $

if [ -r "/etc/usermgmt.conf" ]; then
	FIRST=`grep 'group' /etc/usermgmt.conf | awk '{print $2}'`
fi
if [ -n "$FIRST" ]; then
	echo $FIRST
	cut -f 1 -d ':' /etc/group | grep -v "$FIRST"
else
	cut -f 1 -d ':' /etc/group
fi
