feat: add the new shells variable to ensure support for all interactive shell.

Fix #269
This commit is contained in:
Alexandre Pujol 2024-01-25 13:16:40 +00:00
parent b376e9fade
commit a30c2e5e85
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
13 changed files with 17 additions and 26 deletions

View file

@ -44,8 +44,7 @@ profile su @{exec_path} {
@{exec_path} mr,
@{bin}/{,b,d,rb}ash rUx,
@{bin}/{c,k,tc,z}sh rUx,
@{bin}/@{shells} rUx,
@{bin}/nologin rPx,

View file

@ -53,8 +53,7 @@ profile sudo @{exec_path} {
@{exec_path} mr,
@{lib}/sudo/** mr,
@{bin}/{,b,d,rb}ash rUx,
@{bin}/{c,k,tc,z}sh rUx,
@{bin}/@{shells} rUx,
@{lib}/** rPUx,
/opt/*/** rPUx,
/snap/snapd/@{int}@{bin}/snap rPUx,

View file

@ -16,8 +16,7 @@ profile sulogin @{exec_path} {
@{exec_path} mr,
# The shell is not confined on purpose.
@{bin}/{,b,d,rb}ash rUx,
@{bin}/{c,k,tc,z}sh rUx,
@{bin}/@{shells} rUx,
/etc/shadow r,

View file

@ -29,8 +29,7 @@ profile terminator @{exec_path} flags=(attach_disconnected) {
@{bin}/python3.@{int} rix,
# The shell is not confined on purpose.
@{bin}/{,b,d,rb}ash rUx,
@{bin}/{c,k,tc,z}sh rUx,
@{bin}/@{shells} rUx,
owner @{user_config_dirs}/terminator/{,**} rw,