diff --git a/install_sys.sh b/install_sys.sh index a1b775c..a5508b1 100644 --- a/install_sys.sh +++ b/install_sys.sh @@ -20,7 +20,6 @@ chroot $CHROOT /bin/bash -c "locale-gen" echo 'LANG="fr_FR.UTF-8"' > $CHROOT/etc/env.d/02locale echo 'LC_COLLATE="C"' >> $CHROOT/etc/env.d/02locale chroot $CHROOT /bin/bash -c "useradd -p \`openssl passwd -1 password\` -G wheel joe" -echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/wheel sed -i 's/keymap="us"/keymap="fr"/g' $CHROOT/etc/conf.d/keymaps #configurer portage @@ -43,6 +42,9 @@ chroot $CHROOT /bin/bash -c "emerge sudo grub --getbinpkgonly" tar xjpf $CHROOT/kernel.tar.bz2 -C $CHROOT/ tar xjpf $CHROOT/modules.tar.bz2 -C /lib/modules/ +#configurer sudo +echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/wheel + #configurer grub chroot $CHROOT /bin/bash -c "grub-install /dev/sda" chroot $CHROOT /bin/bash -c "grub-mkconfig -o /boot/grub/grub.cfg"