fix(coreos-base/coreos-base): Disable sudo password for core user.

Considering access to production systems will be by ssh keys, not some
developer password, the user doesn't have a password to give sudo.
This commit is contained in:
Michael Marineau 2013-07-25 15:43:33 -04:00
parent 8a39a029fa
commit 7006b267c2
2 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ src_install() {
# Add a sudo file for the core use
if [[ -n ${SHARED_USER_NAME} ]] ; then
insinto /etc/sudoers.d
echo "${SHARED_USER_NAME} ALL=(ALL) ALL" > 95_core_base
echo "${SHARED_USER_NAME} ALL=(ALL) NOPASSWD: ALL" > 95_core_base
insopts -m 440
doins 95_core_base || die
fi