-
Notifications
You must be signed in to change notification settings - Fork 570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reintroduce shell feature #6490
Comments
What do you mean with shell feature? Why does it provide more security? |
Basic information is missing; please follow the feature request template: |
For eg. combine firejail with rbash or custom shell |
You need to explain in more detail. |
Firejail v0.9.70 below command. |
And why is a |
#not working getting cannot execute binary gedit. #working |
Maybe you should outline why you even need/want a rbash.
|
A small wrapper (e.g. |
I cannot get a wrapper like
to work with something like this: I can login and execute the command, but i need to be able to execute the command directly over ssh in firejail. |
Passing arguments could help. Untested: #!/bin/sh
exec /usr/bin/firejail --quiet --profile=/etc/firejail/myprofile.profile /bin/bash -- "$@" |
I tested your wrapper. Did not work :( , also the login is broken too.
|
If passing non-file-arguments to bash is required, remove the |
That did the trick. I will test it further:
Thanks |
#OS : Redhat 9.4
#Firejail : v0.9.72
#Command
firejail --shell=/bin/rbash --profile=/etc/firejail/abc.profile /usr/bin/gedit
firejail --shell=/bin/rbash /usr/bin/gedit
firejail --shell=/bin/rbash --noprofile /usr/bin/gedit
shell feature enables to provide more security , not able to find its alternative and documentation.
please help
The text was updated successfully, but these errors were encountered: