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

@ -21,8 +21,7 @@ profile newgrp @{exec_path} {
@{exec_path} mr,
@{bin}/{,b,d,rb}ash rUx,
@{bin}/{c,k,tc,z}sh rUx,
@{bin}/@{shells} rUx,
/etc/{passwd,group,shadow,gshadow} r,

View file

@ -41,8 +41,7 @@
capability setgid,
capability setuid,
@{bin}/{,b,d,rb}ash rPx -> confined_user,
@{bin}/{c,k,tc,z}sh rPx -> confined_user,
@{bin}/@{shells} rPx -> confined_user,
/etc/default/su r,
@{etc_ro}/environment r,
@ -63,8 +62,7 @@
capability setgid,
capability setuid,
@{bin}/{,b,d,rb}ash rUx,
@{bin}/{c,k,tc,z}sh rUx,
@{bin}/@{shells} rUx,
/etc/default/su r,
@{etc_ro}/environment r,