2020-07-11 10:42:57 +02:00
|
|
|
#!/usr/bin/env bash
|
2012-10-26 16:34:50 +02:00
|
|
|
|
|
|
|
set -e -u
|
|
|
|
|
|
|
|
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
|
|
|
|
locale-gen
|
|
|
|
|
2013-06-05 02:33:52 +02:00
|
|
|
usermod -s /usr/bin/zsh root
|
2012-10-26 16:34:50 +02:00
|
|
|
cp -aT /etc/skel/ /root/
|
2020-05-31 00:27:15 +02:00
|
|
|
# unset the root password
|
|
|
|
passwd -d root
|
2012-10-26 16:34:50 +02:00
|
|
|
|
2015-09-12 02:06:55 +02:00
|
|
|
sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config
|
2012-10-26 16:34:50 +02:00
|
|
|
sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist
|