[clug-talk] Secure menu shell?

Dana Harding dharding at nucleus.com
Tue Nov 25 13:41:31 PST 2008


Would a web server work?
That would allow authentication, and restrict the user(s) to only running 
specified scripts.


bash -r
(man bash -> RESTRICTED SHELL)
might also be helpful - I've never tried it out, so can't comment on how 
usable (or - from the restricted user's perspective - how unusable) it is.


> This is what I need to do
> Allow a (non-linux) user to login
> Automatically display a menu (ncurses or other - there is no X running)
> In the menu they will have a few options
>    - Shutdown
>    - Reboot
>    - Run a predefined command
>    - Exit/Logout
>
> They should not have access to anything else or the ability to run any 
> other commands (I'm thinking chroot, but that is not too important and may 
> introduce more complexities). As they will already have physical access to 
> the system, security is not that high a priority. I don't




More information about the clug-talk mailing list