mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #5167] [MERGED] profiles: move blacklist of /etc/profile.d & blacklist /etc/profile #5389
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#5389
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?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/5167
Author: @kmk3
Created: 5/30/2022
Status: ✅ Merged
Merged: 5/31/2022
Merged by: @netblue30
Base:
master← Head:mv-sh-profile-blacklist📝 Commits (3)
c7fde57kate.profile: add missing include comment66dc264disable-common.inc: move blacklist of /etc/profile.d2e0727fdisable-shell.inc: blacklist /etc/profile📊 Changes
3 files changed (+3 additions, -2 deletions)
View changed files
📝
etc/inc/disable-common.inc(+0 -1)📝
etc/inc/disable-shell.inc(+2 -0)📝
etc/profile-a-l/kate.profile(+1 -1)📄 Description
disable-common.inc: move blacklist of /etc/profile.d
To disable-shell.inc.
Interactive shells can be executed from certain development-related
programs (such as IDEs) and the shells themselves are not blocked by
default, but this shell startup directory currently is. To avoid
running a shell without access to potentially needed startup files, only
blacklist /etc/profile.d when interactive shells are also blocked.
Note that /etc/profile.d should only be of concern to interactive
shells, so a profile that includes both disable-shell.inc and
allow-bin-sh.inc (which likely means that it needs access to only
non-interactive shells) should not be affected by the blacklisting.
Relates to #3411 #5159.
Cc: @hknaack (from #5159).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.