mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6768] Login via SSH does not load proper Bash shell #3363
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#3363
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pinric on GitHub (Jun 5, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6768
Description
Default configuration when logging in via SSH does not enter jailed shell.
Steps to Reproduce
Expected behavior
Currently running a previous version for 5+ years and when pointing user default shell to /bin/firejail it just works and any user logging in get's the default.profile applied.
Actual behavior
When connecting via SSH the following error shows up:
Error: --shell=none configured, but no program specifiedBehavior without a profile
Running "su username /bin/bash" works fine.
Additional context
Tried changing the login.users to have "--debug /bin/bash" but the following error then shows up:
Environment
uname -srm): Linux 6.8.0-60-generic x86_6mesa 1:24.3.3-2"): GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)
firejail --version): 0.9.72@kmk3 commented on GitHub (Jun 5, 2025):
Which one?
Note that we do not maintain that version of firejail:
Versions other than the latest usually have outdated profiles and may contain
bugs and security vulnerabilities that were fixed in later versions.
See also:
What happens with the latest released version?
Also, what is the full log output and the content of login.users?
@inode64 commented on GitHub (Jul 1, 2025):
I have the same problem but with version 0.9.74
My system is Gentoo
kernel Linux version 6.12.16-gentoo