Merge pull request #127 from marineam/sudo

fix(coreos-base/coreos-base): Disable sudo password for core user.
This commit is contained in:
Michael Marineau 2013-07-25 15:13:27 -07:00
commit 4cc96fab60
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