2 .TH ushell 1 "20 April 1999" "Local tools"
4 ushell \- display a user's shell
9 Writes the named user's default shell to standard output. This is
10 useful in scripts sometimes. In particular, it's handy in global
12 scripts for checking whether users have sensible shells:
20 xmessage -file $HOME/.banned
24 if ! grep -q "^$SHELL" /etc/shells; then
25 xmessage "You're not allowed to log in this way."
38 Mark Wooding (mdw@nsict.org)