Possible to limit user's ability to execute predefined list of commands?
Was wondering if it was at all possible to limit a particular user to be able to only issue a predefined list of commands.
For example, I guess the simplest explanation of this would be setting up the user 'monitor' on your server. So when user 'monitor' logs in, the only commands that could be ran would htop, free -m, ps -aux, etc. Basically just basic commands that are used to monitor available resources or see bottlenecks and system health.
I'm asking, only because I think it would be good for staff that may not necessarily 'need' (or you do not want to give or trust with) full root access or the ability to issue commands that can actually change things on the system. Rather, this way they could just log in and view things as needed without the need of having some web based script showing these things.
I know how to give certain users full ROOT privileges, but I have no idea how to give a user just a very small list privileges of doing pretty much nothing other than checking some very basic things.
IRC.FREENODE.NET #vpsBoard - Drop by and say, 'Hello'.