Re: ypserv and sshd not getting along in -current

2003-03-31 Thread Rob B
At 11:59 AM 31/03/03, Glenn Johnson sent this up the stick:
On Mon, Mar 31, 2003 at 10:46:07AM +1000, Rob B wrote:

> At 02:55 PM 29/03/03, Terry Lambert sent this up the stick:
> >
> >man ypbind
> >
> >(-s is the magic incantation).
>

> Mar 31 10:10:39 erwin ypserv[92]: access to master.passwd.byuid denied --
> client 192.168.100.30:49255 not privileged
>
> Why would the request be coming from a high port when I have
> specifically told it to bind to a low port?
The answer (work around) is to turn off PrivelegeSeparation in your
sshd_config file.
That got it, thanks

Rob

--
Two prostitutes standing on a street corner.  One says to the other, "Have 
you ever been picked up by the fuzz?"
The other replies, "No, but I've been swung around by the boobs a few times!"

This is random quote 1117 of 1254.

Distance from the centre of the brewing universe
[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian
Public Key fingerprint = 6219 33BD A37B 368D 29F5  19FB 945D C4D7 1F66 D9C5

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ypserv and sshd not getting along in -current

2003-03-30 Thread Glenn Johnson
On Mon, Mar 31, 2003 at 10:46:07AM +1000, Rob B wrote:

> At 02:55 PM 29/03/03, Terry Lambert sent this up the stick:
>
> >Glenn Johnson wrote:
> >
> >> I can not login to a box with FreeBSD 5 -current via ssh because I
> >> get the following error from ypserv:
> >>
> >> Mar 28 12:48:15 node1 ypserv[317]: access to master.passwd.byuid denied 
> >-- client 192.168.1.1:49344 not privileged
> >
> >man ypbind
> >
> >(-s is the magic incantation).
>
> I have the same issue, I tried Terry's suggestion but I don't think
> its working like it should:
> 
> On the client:
> aylee # ps fax|grep yp
>252  ??  Is 0:0.62 /usr/sbin/ypbind -s
> 
> aylee # rpcinfo -p localhost|grep yp
> 17   2   udp  1022ypbind
> 17   2   tcp   1023ypbind
> 
> Tailing the server's log:
> Mar 31 10:10:39 erwin ypserv[92]: access to master.passwd.byuid denied -- 
> client 192.168.100.30:49255 not privileged
> 
> Why would the request be coming from a high port when I have
> specifically told it to bind to a low port?

The answer (work around) is to turn off PrivelegeSeparation in your
sshd_config file.

-- 
Glenn Johnson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ypserv and sshd not getting along in -current

2003-03-30 Thread Rob B
At 02:55 PM 29/03/03, Terry Lambert sent this up the stick:
Glenn Johnson wrote:
> I can not login to a box with FreeBSD 5 -current via ssh because I get
> the following error from ypserv:
>
> Mar 28 12:48:15 node1 ypserv[317]: access to master.passwd.byuid denied 
-- client 192.168.1.1:49344 not privileged

man ypbind

(-s is the magic incantation).
I have the same issue, I tried Terry's suggestion but I don't think its 
working like it should:

On the client:
aylee # ps fax|grep yp
   252  ??  Is 0:0.62 /usr/sbin/ypbind -s
aylee # rpcinfo -p localhost|grep yp
17   2   udp  1022ypbind
17   2   tcp   1023ypbind
Tailing the server's log:
Mar 31 10:10:39 erwin ypserv[92]: access to master.passwd.byuid denied -- 
client 192.168.100.30:49255 not privileged

Why would the request be coming from a high port when I have specifically 
told it to bind to a low port?

Cheers,
Rob
--
On Earth there is no reckoning.
This is random quote 883 of 1254.

Distance from the centre of the brewing universe
[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian
Public Key fingerprint = 6219 33BD A37B 368D 29F5  19FB 945D C4D7 1F66 D9C5

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ypserv and sshd not getting along in -current

2003-03-28 Thread Terry Lambert
Glenn Johnson wrote:
> I can not login to a box with FreeBSD 5 -current via ssh because I get
> the following error from ypserv:
> 
> Mar 28 12:48:15 node1 ypserv[317]: access to master.passwd.byuid denied -- client 
> 192.168.1.1:49344 not privileged
> 
> Any ideas?  I wanted to move to 5.0 on my cluster to take advantage of
> the improved SMP support but I absolutely need to be able to ssh into
> this box.

man ypbind

(-s is the magic incantation).

-- Terry
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ypserv and sshd not getting along in -current

2003-03-28 Thread Glenn Johnson
I can not login to a box with FreeBSD 5 -current via ssh because I get
the following error from ypserv:

Mar 28 12:48:15 node1 ypserv[317]: access to master.passwd.byuid denied -- client 
192.168.1.1:49344 not privileged

Other than this, the NIS system seems to be working.  I tried using
the openssh port as well but get the same result so it is definitely a
problem with ypserv.  This box is an "upgrade" from FreeBSD 4 -stable
and I cloned the setup.  In fact I still have the original FreeBSD-4
setup on another box and it all works fine there.

Any ideas?  I wanted to move to 5.0 on my cluster to take advantage of
the improved SMP support but I absolutely need to be able to ssh into
this box.

Thanks.

-- 
Glenn Johnson
USDA, ARS, SRRC  Phone: (504) 286-4252
New Orleans, LA 70124   e-mail: [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"