You could edit their .profile, make their $PATH only their home directory and the restricted directory, chown it for root:bin. Copy "cat", "ls", and any other commands they may need that doesn't allow them to leave their directory into their home directory. Then in .profile alias "cd" like this "alias cd=/dev/null" so they can't use the cd command,
alias /usr/bin, /usr/sbin, /bin, /sbin, / to /dev/null also. Then make a new alias for cd like "alias Cd='cd /restricted/dir/'. Make sure to lock down .profile, .login, .cshrc,.bashrc (whatever they can create aliases or modify for unseemly purposes in their homedir) chown them for root:bin and chmod them 700. That should work. Test it before using it on a real person though. d3funct
zimmer.jon@cfwy.com
The software required `Windows 95 or better', so I installed Linux.