This is something that I looked into a while back and found some useful info for... but now that I actually need to do it, of course I can't find that guide I saw anymore.
Anyways, here's the situation. I have a program that runs using an ncurses menu through SSH. I want users to be able to login to that program via SSH, but only to that program.
What do I have to do so that this scenario is possible?
- User opens Putty
- User signs into the Linux server with their username and password
- When logging in, they go straight to that program
- In the even of a program close, crash, cancellation, etc... the user is forcefully loged off of the system.
My goal is to limit them from seeing a command line at all, and to be restricted to just that program. Is this possible? How do I/would I go about doing it?