ssh login - execute command - exit
- by renton
hi folks,
is there a way to just execute a command (or script) on a user (ssh) login and then exit?
some kind of replacing the default shell with a custom script.
i want a user only be able to restart a service, but not to have regular shell-access
thanks