I have a user, and I want him to be able to run exactly one command when he logs in. The command is under /usr/bin. It is called by a script on a remote system, so I cannot link it or change the command name. bash -r would be perfect, but I can't execute commands with slashes in them. I cannot change the way the command is called. So, my user needs to execute /usr/bin/<command> and absolutely nothing else. Any ideas how I can make this happen using bash?
Thanks in advance!
