> As a side effect, this script to enable NIS on a Debian system does no
> longer work:
> 
> if grep -q -v "+::::::" /etc/passwd; then
>   shadowconfig off
>   echo "+::::::" >> /etc/passwd
>   echo "+:::" >> /etc/group
>   shadowconfig on
> fi

Hmm, sorry, the check would be actually like this:

if ! grep -q "+::::::" /etc/passwd; then
  shadowconfig off
  echo "+::::::" >> /etc/passwd
  echo "+:::" >> /etc/group
  shadowconfig on
fi

This is what worked in lenny and no longer works.

Thanks.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to