1 2 3 4 5 6 7 8 9
#!/bin/sh # $FreeBSD$ if [ "$2" != "root" ] then exit fi cat /etc/motd HOME=/root exec -sh