From 49bd7ce4bd94a366aaa9e6a6b64f21fa8144cc74 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sun, 19 Apr 2015 17:31:17 -0300 Subject: [configs/releng] Remove unused 'arch' user Signed-off-by: Gerardo Exequiel Pozzi --- configs/releng/airootfs/etc/pam.d/su | 6 ------ configs/releng/airootfs/etc/sudoers.d/g_wheel | 1 - configs/releng/airootfs/root/customize_airootfs.sh | 5 ----- 3 files changed, 12 deletions(-) delete mode 100644 configs/releng/airootfs/etc/pam.d/su delete mode 100644 configs/releng/airootfs/etc/sudoers.d/g_wheel (limited to 'configs') diff --git a/configs/releng/airootfs/etc/pam.d/su b/configs/releng/airootfs/etc/pam.d/su deleted file mode 100644 index a291042..0000000 --- a/configs/releng/airootfs/etc/pam.d/su +++ /dev/null @@ -1,6 +0,0 @@ -#%PAM-1.0 -auth sufficient pam_rootok.so -auth sufficient pam_wheel.so trust use_uid -auth required pam_unix.so -account required pam_unix.so -session required pam_unix.so diff --git a/configs/releng/airootfs/etc/sudoers.d/g_wheel b/configs/releng/airootfs/etc/sudoers.d/g_wheel deleted file mode 100644 index 8c45359..0000000 --- a/configs/releng/airootfs/etc/sudoers.d/g_wheel +++ /dev/null @@ -1 +0,0 @@ -%wheel ALL=(ALL) NOPASSWD: ALL diff --git a/configs/releng/airootfs/root/customize_airootfs.sh b/configs/releng/airootfs/root/customize_airootfs.sh index aecf7f1..e1aaf99 100755 --- a/configs/releng/airootfs/root/customize_airootfs.sh +++ b/configs/releng/airootfs/root/customize_airootfs.sh @@ -11,11 +11,6 @@ usermod -s /usr/bin/zsh root cp -aT /etc/skel/ /root/ chmod 700 /root -useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /usr/bin/zsh arch - -chmod 750 /etc/sudoers.d -chmod 440 /etc/sudoers.d/g_wheel - sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist sed -i 's/#\(Storage=\)auto/\1volatile/' /etc/systemd/journald.conf -- cgit v1.2.3-70-g09d2