don't set uid, since system-user get 3-digit and not 4-digit

This commit is contained in:
LinuxSquare 2025-05-28 23:40:04 +02:00
parent e098a452cf
commit 2bff5fd4ed

View file

@ -393,7 +393,7 @@ function installation() {
runInChroot "chsh -s /usr/bin/fish root" || installationFailed runInChroot "chsh -s /usr/bin/fish root" || installationFailed
installationSubtaskTitle "Create ansible user" installationSubtaskTitle "Create ansible user"
runInChroot "adduser -s /usr/bin/fish -u 1337 -S -D ansible" runInChroot "adduser -s /usr/bin/fish -S -D ansible"
installationSubtaskTitle "Enable ansible passwordless sudo" installationSubtaskTitle "Enable ansible passwordless sudo"
runInChroot "echo 'ansible ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/ansible" runInChroot "echo 'ansible ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/ansible"