diff --git a/debian/freedombox.postinst b/debian/freedombox.postinst deleted file mode 100755 index 940bce4a9..000000000 --- a/debian/freedombox.postinst +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -set -e - -# Due to a change in sudo, now it runs PAM modules even on password-less -# 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 -i 's+-:ALL EXCEPT root fbx (admin) (sudo):ALL+-:ALL EXCEPT root fbx plinth (admin) (sudo):ALL+' /etc/security/access.conf - -#DEBHELPER# - -exit 0