SUMMARY: rcmd: socket: permission denied

From: Johnston, Paul M \(Radar 2\) <"Johnston,>
Date: Sun, 29 Jul 2001 08:49:24 +1000

Thanks to Trevor Osatchuk for the hyperlink - it makes life easy.
Thanks to all who replied - James Sainsbury hit the nail on the head with
the following . . . .
-----------------------
rcmd(3) needs to have an euid==0 to bind a reserved port (<1024)
and pseudo terminal routines (openpty() and forkpty()) seem to
depend on suid progs in lbin.
-----------

I dont know how or why but /usr/* was missing all suid bits when i compared
it to a working machine. If i find the reason i will make a follow-up
posting.

Thanks again

----------------------------------------------------------------------------
------------------
paul johnston - csso - radar 2
_at_Rx - 0890314360 _at_Tx - 0890314411
----------------------------------------------------------------------------
-------------------

 
Hi All - i am looking after a small network with a few 4100's, 1200's, 600's
and 433 personal workstations. We use NIS for some basic services - and are
running enhanced security.

The problem i am having is that on one machine (a 433) the users are getting
the following error when they login to cde and try to access a dtterm; a
warning pops up "unable to set non-blocking on pty".

I dont know if it is related (but assume it is) - from the same machine
every user (besides root) gets a "rcmd: socket: permission denied" error
when trying to do an rsh or rlogin to any other machine on the network. This
user is fine from any other machine. Obviously someone has been playing with
either NIS or C2 security on that box - but i cant locate the problem.

any help would be appreciated


----------------------------------------------------------------------------
------------------
paul johnston - csso - radar 2
_at_Rx - 0890314360 _at_Tx - 0890314411
----------------------------------------------------------------------------
-------------------

 
Received on Sat Jul 28 2001 - 22:52:43 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT