+domainnames and netgroups

Ron Stanonik stanonik at nprdc.navy.mil
Thu Mar 23 07:56:06 AEST 1989


We're running sunos 4.0.1 on sun 4/280s.

We ran into a problem when we changed our yp domainname to start with a +
(to utilize the $m macro in sendmail.cf).  Users who were added to
/etc/passwd via a netgroup (+ at netgroup) were no longer found (couldn't
login).

Our domainname was +nprdc.navy.mil.

Our netgroup looked like
trcf (-,stanonik,+nprdc.navy.mil) ...

Our passwd looked like
root:...
+ at trcf:

stanonik couldn't login.

When we changed the netgroup to
trcf (-,stanonik,) ...

stanonik could login.

So, it appears that domainnames beginning with + trip up netgroup.  Maybe
it interprets the + as meaning do a further netgroup expansion?

Ron Stanonik
stanonik at nprdc.navy.mil



More information about the Comp.sys.sun mailing list