From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653652422123.tru64-unix-managers.marc@archive.invalid> From: "Johnston, Paul M \(Radar 2\)" Date: Sat, 28 Jul 2001 22:49:24 +0000 To: tru64-unix-managers Subject: SUMMARY: rcmd: socket: permission denied X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653652422123 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 @Rx - 0890314360 @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 @Rx - 0890314360 @Tx - 0890314411 ---------------------------------------------------------------------------- -------------------