initial.shを通常版に入れ替え
本来通常版のはずだった
This commit is contained in:
parent
c05d852d34
commit
f2e793a147
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ if [ "$check1" == "yes" ]; then
|
||||||
arch-chroot /mnt /usr/bin/usermod -aG wheel "$home_username"
|
arch-chroot /mnt /usr/bin/usermod -aG wheel "$home_username"
|
||||||
#wheelグループへ所属
|
#wheelグループへ所属
|
||||||
arch-chroot /mnt /usr/bin/sed -i -e 's/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/g' /etc/sudoers
|
arch-chroot /mnt /usr/bin/sed -i -e 's/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/g' /etc/sudoers
|
||||||
curl -Lk 'https://192.168.1.64:8443/www/suti7/arch/initial_server.sh' -o "/mnt/home/$home_username/initial.sh"
|
curl -Lk 'https://192.168.1.64:8443/www/suti7/arch/initial.sh' -o "/mnt/home/$home_username/initial.sh"
|
||||||
chown 1000:1000 "/mnt/home/$home_username/initial.sh"
|
chown 1000:1000 "/mnt/home/$home_username/initial.sh"
|
||||||
chmod 700 "/mnt/home/$home_username/initial.sh"
|
chmod 700 "/mnt/home/$home_username/initial.sh"
|
||||||
#visudo設定
|
#visudo設定
|
||||||
|
|
|
@ -72,7 +72,7 @@ if [ "$check1" == "yes" ]; then
|
||||||
arch-chroot /mnt /usr/bin/usermod -aG wheel "$home_username"
|
arch-chroot /mnt /usr/bin/usermod -aG wheel "$home_username"
|
||||||
#wheelグループへ所属
|
#wheelグループへ所属
|
||||||
arch-chroot /mnt /usr/bin/sed -i -e 's/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/g' /etc/sudoers
|
arch-chroot /mnt /usr/bin/sed -i -e 's/# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/g' /etc/sudoers
|
||||||
curl -Lk 'https://192.168.1.64:8443/www/suti7/arch/initial_server.sh' -o "/mnt/home/$home_username/initial.sh"
|
curl -Lk 'https://192.168.1.64:8443/www/suti7/arch/initial.sh' -o "/mnt/home/$home_username/initial.sh"
|
||||||
chown 1000:1000 "/mnt/home/$home_username/initial.sh"
|
chown 1000:1000 "/mnt/home/$home_username/initial.sh"
|
||||||
chmod 700 "/mnt/home/$home_username/initial.sh"
|
chmod 700 "/mnt/home/$home_username/initial.sh"
|
||||||
#visudo設定
|
#visudo設定
|
||||||
|
|
Loading…
Reference in a new issue