2023-10-14 22:38:12 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
describe="Install stuff on the system!"
|
2023-10-14 22:38:12 +02:00
|
|
|
scripts="@distro @self"
|
2023-10-14 22:38:12 +02:00
|
|
|
|
|
|
|
super_apply() {
|
2023-10-14 22:38:14 +02:00
|
|
|
if [ -f /usr/lib/security/pam_wheel.so ] && ! grep -q "# pam_wheel.so added" /etc/pam.d/su; then
|
|
|
|
echo "auth sufficient pam_wheel.so trust use_uid" > /etc/pam.d/su
|
|
|
|
echo "# pam_wheel.so added" > /etc/pam.d/su
|
2023-10-14 22:38:15 +02:00
|
|
|
fi
|
2023-10-14 22:38:12 +02:00
|
|
|
}
|