Jorgen Moquist wrote:
> Jorgen Moquist wrote:
>> Hi cant get C2 security to work with nis on sol9.
>> password are still shown, had no difficulties with sol8.
>> whats wrong with sol9 ?
>>
>> did edit /var/yp/Makefile : PWDIR=/var/etc
>> all passwd & group is in /var/etc as i dont want root etc. to be in nis.
>>
>> /var/etc/security/passwd.adjunct created
>> user:##user:123:123:/here/iam:/bin/iamlost
>>
>> /usr/lib/netsvc/yp/ypstop ; /usr/lib/netsvc/yp/ypstart
>>
>> cd /var/yp && make
>> ...
>> passwd.adjunct updated
>> ...
>>
>> so it seems to be configured ok for the make.
>> although passwd.adjunct is in /var/yp
>> and not in /var/yp/security
>>
>> tried rpc.yppasswdd -m passwd.adjunct in /usr/lib/netsvc/yp/ypstart.
>> no go.
>>
>> ps shows rpc.yppasswdd runs with -m passwd.adjunct
>> like rpc.yppasswdd -D /var/etc ... -m passwd.adjunct
>>
>> what am i missing ?
>>
>> /Jorgen

>


Hi, solved it, is working when updating /var/yp/security/passwd.adjunct
ypcat passwd now shows like this: user:##user:/happy/home:/very/pleased
/Jorgen :-)