don't set uid, since system-user get 3-digit and not 4-digit
This commit is contained in:
parent
e098a452cf
commit
2bff5fd4ed
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue