rhtyd commented on pull request #215:
URL: 
https://github.com/apache/cloudstack-documentation/pull/215#issuecomment-980506813


   Hi @dredknight a user from mailing list has given following suggestion:
   ```
   > Hello everyone.
   >
   > I've been following the Cloud-init integration guides in the ACS 4.16
   > documentation and noticed a problem with Ubuntu Server 20.04 LTS. In
   > particular, the section "Specify the managed user" shows:
   >
   > system_info : default_user : name : cloud - user lock_passwd : false # 
disable
   > user password login - true/false sudo : [ \ "ALL=(ALL) ALL \" ]       # 
User
   > permissions disable_root : 0 # root remote login is 0 - enabled, 1 - 
disabled
   > ssh_pwauth : 1 # password login is 0 - disabled, 1- enabled
   >
   > Adding this produces an error message when trying to use sudo. The error 
message
   > is:
   >
   > $ sudo su
   >>>> /etc/sudoers.d/90-cloud-init-users: syntax error near line 4 <<<
   > sudo: parse error in /etc/sudoers.d/90-cloud-init-users near line 4
   > sudo: no valid sudoers sources found, quitting
   > sudo: unable to initialize policy plugin
   >
   > Removing the "\" in
   > sudo : [ \ "ALL=(ALL) ALL \" ]
   > seem to fix the problem for me.
   ```
   
   Mailing list thread reference: https://markmail.org/message/ruxyqzs44lqjtqpf


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to