Then create a script called
/bin/nologin that contains:
#! /bin/sh
echo "Sorry, but your account is only allowed POP access to this host."
exit 1
when a person attempts to log into
their defined shell it will run
the /bin/noling script, display
the message, and exit them from
the system
Have Fun
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.