Skip to content

Instantly share code, notes, and snippets.

@SiddheshNan
Created February 1, 2020 21:56
Show Gist options
  • Save SiddheshNan/b06755df1f1e33c19874027563a37fc0 to your computer and use it in GitHub Desktop.
Save SiddheshNan/b06755df1f1e33c19874027563a37fc0 to your computer and use it in GitHub Desktop.
pacman-key --init
pacman-key --populate archlinuxarm
pacman -Syy
pacman -Syu
rm /etc/resolv.conf
echo "nameserver 1.1.1.1" > /etc/resolv.conf
reboot
pacman -S sudo
sed 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/g' /etc/sudoers > /etc/sudoers.new
export EDITOR="cp /etc/sudoers.new"
visudo
rm /etc/sudoers.new
useradd -m -g users -G wheel -s /bin/bash sid
passwd sid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment