summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2015-04-19 17:31:17 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2015-04-19 17:31:17 -0300
commit49bd7ce4bd94a366aaa9e6a6b64f21fa8144cc74 (patch)
tree2c696aed80d60787f24be4a5ea83b9e58cd25470
parent2b1d127835d5daa07b17b691779a4c1fc6f4ba5f (diff)
downloadarchiso32-49bd7ce4bd94a366aaa9e6a6b64f21fa8144cc74.tar.xz
[configs/releng] Remove unused 'arch' user
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
-rw-r--r--configs/releng/airootfs/etc/pam.d/su6
-rw-r--r--configs/releng/airootfs/etc/sudoers.d/g_wheel1
-rwxr-xr-xconfigs/releng/airootfs/root/customize_airootfs.sh5
3 files changed, 0 insertions, 12 deletions
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