mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +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
|
||||
# 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.
|
||||
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
|
||||
configure)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user