Fully functional DustArch; TODO: Add documentation for DustArch archiso creation process

This commit is contained in:
David Holland 2019-11-06 02:49:43 +01:00
parent f2a73e29e4
commit ee0863e376
Signed by: DustVoice
GPG Key ID: 47068995A14EDCA9
3 changed files with 22 additions and 3 deletions

View File

@ -524,7 +524,7 @@ After that we are going to create a new user, set the password for this user, ma
[source, console]
----
[root@archiso /]# useradd -mg users -G wheel,storage,power dustvoice
[root@archiso /]# useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /usr/bin/fish dustvoice
[root@archiso /]# passwd dustvoice
[root@archiso /]# pacman -S sudo
----

@ -1 +1 @@
Subproject commit 617c820d8a898213d697a7a2d71e2e9d8cc31836
Subproject commit 579286d2a8fcf22344a99ded2760e2c79dc7aca9

View File

@ -27,7 +27,14 @@ sed -i 's/#\(HandleSuspendKey=\)suspend/\1ignore/' /etc/systemd/logind.conf
sed -i 's/#\(HandleHibernateKey=\)hibernate/\1ignore/' /etc/systemd/logind.conf
sed -i 's/#\(HandleLidSwitch=\)suspend/\1ignore/' /etc/systemd/logind.conf
pip3 install neovim
pip3 install pygments
! id dustvoice && useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /usr/bin/fish dustvoice
echo 'dustvoice ALL=(ALL) ALL' >> /etc/sudoers
su -s /bin/bash dustvoice
gem install asciidoctor --pre
gem install asciidoctor-pdf --pre
gem install asciidoctor-epub3 --pre
@ -36,6 +43,12 @@ gem install pygments.rb --pre
nvim --headless +PlugInstall +qa
python3 ~/.config/nvim/plugged/YouCompleteMe/install.py --clang-completer
gpg-connect-agent updatestartuptty /bye
exit
usermod -s /usr/bin/fish dustvoice
systemctl enable pacman-init.service choose-mirror.service
systemctl set-default multi-user.target
@ -45,4 +58,10 @@ systemctl start dhcpcd.service
systemctl enable pcscd
systemctl start pcscd
gpg-connect-agent updatestartuptty /bye
echo ""
echo "Please set a password for the [root] user:"
until passwd; do echo "Try again, or Ctrl-c within 5 seconds!"; sleep 5; done
echo ""
echo "Please set a password for the [dustvoice] user:"
until passwd dustvoice; do echo "Try again, or Ctrl-c within 5 seconds!"; sleep 5; done