On Wed, Aug 15, 2012 at 1:51 AM, Sean Brisbane
<[email protected]> wrote:
> Dear All,
>
> We have recently upgraded to sudo-1.7.2p1-14.el5_8.2.  This upgrade breaks
> our nis setup as it alters nsswitch.conf, but does not reset the permissions
> to world readable:
>
> # Remove the "sudoers:" line from nsswitch.conf if it's not modified
> # and only when we are erasing (not upgrading) the package!
> if [ $1 = 0 ] && grep -q "^sudoers:  files ldap$" "/etc/nsswitch.conf"; then
>    NSSWITCH_TMPFILE=$(mktemp)
>    grep -v "^sudoers:  files ldap$" "/etc/nsswitch.conf" >
> "$NSSWITCH_TMPFILE" && \
>    mv -f "$NSSWITCH_TMPFILE" "/etc/nsswitch.conf"
>    restorecon "/etc/nsswitch.conf"
> fi

This is a known issue and has been fixed in sudo-1.7.2p1-14.el5_8.3 :

https://rhn.redhat.com/errata/RHBA-2012-1160.html

Akemi

Reply via email to