I want to whitelist some of the commands for users. I am getting solution using LShell Limited Shell but I want to restrict subcommands as well.
I want user to access docker ps and docker logs only. How can I achieve it via LShell?
I want to whitelist some of the commands for users. I am getting solution using LShell Limited Shell but I want to restrict subcommands as well.
I want user to access docker ps and docker logs only. How can I achieve it via LShell?
lshellthoughlshellis more efficient that rbash. That's why, I looking for solutions in lshell.lshell, but looking at the documentation it seems not possible to restrict access to subcommands. Do you think it may be possible to use a wrapper script for thedockerexecutable ?