gallet,
If you want the user only to run the application, change their shell to the application, not /bin/sh (or whatever). When the application exits, the user should be logged out. Of course, if the app lets you run the shell, this won't close any security threats.
Good Luck,
chris
|