mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
debian: Don't make backup of /etc/security/access.conf
Closes: #909484 Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
a307476634
commit
bf347c4aee
2
debian/postinst
vendored
2
debian/postinst
vendored
@ -12,7 +12,7 @@ daemongroup=plinth
|
|||||||
# invocations. This leads to plinth not being able to run root privileges. This
|
# invocations. This leads to plinth not being able to run root privileges. This
|
||||||
# is because of our own restrictions in /etc/security/access.conf. Since Plinth
|
# is because of our own restrictions in /etc/security/access.conf. Since Plinth
|
||||||
# is locked out after upgrade, we need to do this in postinst.
|
# is locked out after upgrade, we need to do this in postinst.
|
||||||
sed -ie 's+-:ALL EXCEPT root fbx (admin) (sudo):ALL+-:ALL EXCEPT root fbx plinth (admin) (sudo):ALL+' /etc/security/access.conf
|
sed -i 's+-:ALL EXCEPT root fbx (admin) (sudo):ALL+-:ALL EXCEPT root fbx plinth (admin) (sudo):ALL+' /etc/security/access.conf
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
configure)
|
configure)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user