User access restriction in centOS 5 to run single script only.
Can anyone help in setting a user with a no privilege to run /bin /sbin and /usr/sbin commands.
I am able to restrict the directory navigation using /bin/rbash shell, however not finding the way to restrict the user to execute the system command like rm -rf, netstat, top etc
the user needs to be able to login to shell via SSH and execute one script like /home/frank/test.pl which is 755.
any help is appreciated!!!