sed command now actually switches to zsh
This commit is contained in:
parent
ebe38c505f
commit
292866393d
2
larbs.sh
2
larbs.sh
@ -221,7 +221,7 @@ newperms "%wheel ALL=(ALL) ALL #LARBS
|
||||
%wheel ALL=(ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/packer -Syu,/usr/bin/packer -Syyu,/usr/bin/systemctl restart NetworkManager,/usr/bin/rc-service NetworkManager restart,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/yay,/usr/bin/pacman -Syyuw --noconfirm"
|
||||
|
||||
# Make zsh the default shell for the user
|
||||
sed "s/^$name:\(.*\):\/bin\/.*/$name:\1:\/bin\/zsh/" /etc/passwd
|
||||
sed -i "s/^$name:\(.*\):\/bin\/.*/$name:\1:\/bin\/zsh/" /etc/passwd
|
||||
|
||||
# dbus UUID must be generated for Artix runit
|
||||
dbus-uuidgen > /var/lib/dbus/machine-id
|
||||
|
Loading…
Reference in New Issue
Block a user