#! /bin/sh

# Give list of users who are on Gos but are not accredited in the register
# file.

# generate list of users
bm @GOS /etc/pass/regstr | sed 's/.*:\([a-z0-9]*\)@GOS:.*/\1/' | sort > t#acc

# list of accredited users, ignoring uids 0-20
pu -d%u | tail +22 | sort > t#users

# find users not accredited
comm -23 t#users t#acc
