cloudfoundry-community / jumpbox-boshrelease

A BOSH release for jumpboxen
MIT License
22 stars 27 forks source link

sudoers option #58

Closed marcus-sds closed 6 years ago

marcus-sds commented 6 years ago

some users don't need sudoers permission. Would you set sudoers option with jumpbox user spec?

jhunt commented 6 years ago

Yes.

https://github.com/cloudfoundry-community/jumpbox-boshrelease/blob/master/jobs/jumpbox/templates/bin/watcher#L248

If you set sudo: false in the users definition in the list of jumpbox users, they wont get sudo. By default, everyone gets sudo.