diff options
-rw-r--r-- | README.md | 27 | ||||
-rw-r--r-- | util/configure_users.sh | 7 |
2 files changed, 19 insertions, 15 deletions
@@ -9,7 +9,7 @@ Note: There are many Arch Install scripts out there but I wanted to create my ow ## Usage -1. Download the Arch Linux .iso file (maybe [here](http://ftp.halifax.rwth-aachen.de/archlinux/iso/2019.11.01/)) and verify it. +1. Download the Arch Linux .iso file (maybe [here](http://ftp.halifax.rwth-aachen.de/archlinux/iso/latest/)) and verify it. 2. Write the .iso to a USB stick and boot the machine from this USB stick in UEFI mode. 3. Download the script with 'curl -L archinstall.xengineering.eu > archinstall.sh'. 4. Run the script with 'bash archinstall.sh' and follow the instructions. @@ -29,16 +29,17 @@ Execute 'loadkeys de-latin1' after booting to live environment, if you want to s ## To Do -- [ ] Create a main User with sudo Permissions -- [ ] Provide LUKS Encryption -- [ ] Support Installation with WiFi (instead of cable connection) -- [ ] Provide recommended Package Lists -- [ ] Modify Mirrorlist -- [ ] Support BIOS Systems -- [ ] Support English Localization +- [ ] Create a main user with sudo permissions +- [ ] Provide LUKS encryption +- [ ] Support installation with WiFi (instead of cable connection) +- [ ] Provide recommended package lists +- [ ] Modify mirrorlist +- [ ] Automatic abort in case of errors +- [ ] Support BIOS systems +- [ ] Support english localization - [ ] Packaged for the AUR -- [x] Provide Installation of Desktop Environment -- [x] Provide reusable Configuration File (json) -- [x] Provide Error Log -- [x] Automatic Partitioning -- [x] Write first Version of archinstall.sh +- [x] Provide installation of a desktop environment +- [x] Provide reusable configuration file (json) +- [x] Provide error log +- [x] Automatic partitioning +- [x] Write first version of archinstall.sh diff --git a/util/configure_users.sh b/util/configure_users.sh index 3c2fcc4..be91f2d 100644 --- a/util/configure_users.sh +++ b/util/configure_users.sh @@ -24,10 +24,13 @@ default_password=$2 echo "root:$default_password" | chpasswd -useradd -m $admin_username -usermod -aG wheel $admin_username +useradd -m $admin_username # create user and according home directory +usermod -aG wheel $admin_username # add user to sudo-priviledged wheel group echo "$admin_username:$default_password" | chpasswd +sed -i '/%wheel ALL=(ALL) ALL/s/^# //g' /etc/sudoers # activate wheel group + # by uncommenting special + # line in sudoers file # passwd -l root # lock the root account if changing /etc/sudoers is implemented echo "Configured users - OK" |