There are several things you can do. The first thing that comes to mind is that the individual might not need to log on to the server at all. They could use ftp from another machine to put the files on the server. Or you could export a directory for that person to mount via Samba or NFS.
Another approach would be to use a chroot jail.
You could use a restricted bash shell (rbash) and you could make their login script call a menu that logs off when they exit it.
All of these things are well documented. You should be able to find information on all of them using Google.
Last edited by stress_junkie; 02-04-2011 at 07:08 PM.
|