No longer define zsh as default shell for root.
This commit is contained in:
parent
2f500af760
commit
b4f7e65a27
|
@ -5,6 +5,7 @@
|
||||||
### Fix
|
### Fix
|
||||||
* Leave standart task in peace to be able to have a X session for user's nodes… (see #17).
|
* Leave standart task in peace to be able to have a X session for user's nodes… (see #17).
|
||||||
* Update doc about Debian distribution name and remove useless entries (oldStable).
|
* Update doc about Debian distribution name and remove useless entries (oldStable).
|
||||||
|
* No longer define zsh as default shell for root.
|
||||||
|
|
||||||
## Release 0.4.1
|
## Release 0.4.1
|
||||||
### Improvement
|
### Improvement
|
||||||
|
|
|
@ -120,7 +120,6 @@ Preseeding provides a way to set answers to questions asked by the Debian-Instal
|
||||||
* Bootloader :
|
* Bootloader :
|
||||||
* Install Grub on the MBR of the first disk.
|
* Install Grub on the MBR of the first disk.
|
||||||
* late_command
|
* late_command
|
||||||
* Define ZSH as the default shell.
|
|
||||||
* Permit root login via SSH with it's password.
|
* Permit root login via SSH with it's password.
|
||||||
* Download and extract a _latecommand_ archive from [this repository][debian latecommand description].
|
* Download and extract a _latecommand_ archive from [this repository][debian latecommand description].
|
||||||
* Run the script from this archive.
|
* Run the script from this archive.
|
||||||
|
|
|
@ -352,8 +352,8 @@ d-i cdrom-detect/eject boolean false
|
||||||
#d-i debian-installer/exit/poweroff boolean true
|
#d-i debian-installer/exit/poweroff boolean true
|
||||||
|
|
||||||
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
||||||
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
|
d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \
|
||||||
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
lvremove -f /dev/sys/lv_free ; \
|
||||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||||
in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \
|
in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \
|
||||||
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
||||||
|
|
|
@ -343,8 +343,8 @@ d-i cdrom-detect/eject boolean false
|
||||||
#d-i debian-installer/exit/poweroff boolean true
|
#d-i debian-installer/exit/poweroff boolean true
|
||||||
|
|
||||||
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
||||||
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
|
d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \
|
||||||
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
lvremove -f /dev/sys/lv_free ; \
|
||||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||||
in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \
|
in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \
|
||||||
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
||||||
|
|
|
@ -343,8 +343,8 @@ d-i cdrom-detect/eject boolean false
|
||||||
#d-i debian-installer/exit/poweroff boolean true
|
#d-i debian-installer/exit/poweroff boolean true
|
||||||
|
|
||||||
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
||||||
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
|
d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \
|
||||||
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
lvremove -f /dev/sys/lv_free ; \
|
||||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||||
in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \
|
in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \
|
||||||
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
||||||
|
|
|
@ -343,8 +343,8 @@ d-i cdrom-detect/eject boolean false
|
||||||
#d-i debian-installer/exit/poweroff boolean true
|
#d-i debian-installer/exit/poweroff boolean true
|
||||||
|
|
||||||
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
||||||
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
|
d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \
|
||||||
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
lvremove -f /dev/sys/lv_free ; \
|
||||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||||
in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \
|
in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \
|
||||||
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
||||||
|
|
|
@ -345,8 +345,8 @@ d-i cdrom-detect/eject boolean false
|
||||||
#d-i debian-installer/exit/poweroff boolean true
|
#d-i debian-installer/exit/poweroff boolean true
|
||||||
|
|
||||||
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
||||||
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
|
d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \
|
||||||
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
lvremove -f /dev/sys/lv_free ; \
|
||||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||||
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
||||||
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
||||||
|
|
|
@ -357,8 +357,8 @@ d-i cdrom-detect/eject boolean false
|
||||||
#d-i debian-installer/exit/poweroff boolean true
|
#d-i debian-installer/exit/poweroff boolean true
|
||||||
|
|
||||||
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
||||||
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
|
d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \
|
||||||
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
lvremove -f /dev/sys/lv_free ; \
|
||||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||||
in-target /bin/sed -i 's/.*\(PermitRootLogin\).*/\1 yes/g' /etc/ssh/sshd_config ; \
|
in-target /bin/sed -i 's/.*\(PermitRootLogin\).*/\1 yes/g' /etc/ssh/sshd_config ; \
|
||||||
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
||||||
|
|
|
@ -333,8 +333,8 @@ d-i cdrom-detect/eject boolean false
|
||||||
#d-i debian-installer/exit/poweroff boolean true
|
#d-i debian-installer/exit/poweroff boolean true
|
||||||
|
|
||||||
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
||||||
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
|
d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \
|
||||||
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
lvremove -f /dev/sys/lv_free ; \
|
||||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||||
in-target /bin/sed -i 's/.*\(PermitRootLogin\).*/\1 yes/g' /etc/ssh/sshd_config ; \
|
in-target /bin/sed -i 's/.*\(PermitRootLogin\).*/\1 yes/g' /etc/ssh/sshd_config ; \
|
||||||
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
||||||
|
|
|
@ -328,8 +328,8 @@ d-i cdrom-detect/eject boolean false
|
||||||
#d-i debian-installer/exit/poweroff boolean true
|
#d-i debian-installer/exit/poweroff boolean true
|
||||||
|
|
||||||
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
||||||
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
|
d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \
|
||||||
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
lvremove -f /dev/sys/lv_free ; \
|
||||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||||
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
||||||
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
||||||
|
|
|
@ -333,8 +333,8 @@ d-i cdrom-detect/eject boolean false
|
||||||
#d-i debian-installer/exit/poweroff boolean true
|
#d-i debian-installer/exit/poweroff boolean true
|
||||||
|
|
||||||
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
||||||
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
|
d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \
|
||||||
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
lvremove -f /dev/sys/lv_free ; \
|
||||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||||
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
||||||
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
||||||
|
|
|
@ -333,8 +333,8 @@ d-i cdrom-detect/eject boolean false
|
||||||
#d-i debian-installer/exit/poweroff boolean true
|
#d-i debian-installer/exit/poweroff boolean true
|
||||||
|
|
||||||
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
#in-target wget -O /tmp/latecommand.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:latecommand.tar.gz" --no-check-certificate ; \
|
||||||
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
|
d-i preseed/late_command string in-target umount /dev/sys/lv_free ; \
|
||||||
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
|
lvremove -f /dev/sys/lv_free ; \
|
||||||
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
|
||||||
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
in-target /bin/sed -i 's/\(^\|^\#\)\(PermitRootLogin\).*/\2 yes/g' /etc/ssh/sshd_config ; \
|
||||||
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
|
||||||
|
|
Loading…
Reference in New Issue