* SUMMARY: rcmd: socket: permission denied
@ 2000-04-18 7:20 Klaus-Dieter Aumann
0 siblings, 0 replies; 2+ messages in thread
From: Klaus-Dieter Aumann @ 2000-04-18 7:20 UTC (permalink / raw)
To: tru64-unix-managers
Thanks to:
Jim Jennis <jjennis@discovery.fuentez.com>
Dufresne.Ronald@epamail.epa.gov
... but the winner is "Serguei Patchkovskii" <patchkov@ucalgary.ca>
----------------------------------------------------------------------------
-------
Check set-uid bit on the rlogin executable. Most likely, it is off for some
reason.
----------------------------------------------------------------------------
-------
Thankyou everbody, I've just learned something new about my systems.
============================================================
... original Question:
Hi,
System: AlphaServer DS20 / 500, one cpu
OS: Tru64 Unix 4.0E, no patch-kits
After power-failure on this machine I have problems with "rlogin"
If I try to "rlogin" from this machine to other machines (Alphas) I get an
error-message:
> rlogin other_machine
> rcmd: socket: Permission denied
1) other_machine is in the /etc/hosts table
2) ping other_machine works fine
3) telnet other_machine also works fine
any help appreciated, K.-D.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Klaus-Dieter Aumann: Rechenzentrum der GBF-Braunschweig |
| Tel: (+49)-(0)531 / 6181-581 Mascheroder Weg 1 |
| Fax: (+49)-(0)531 / 6181-515 D-38124 Braunschweig |
| WWW: http://www.gbf.de/bereiche/uk/div_wtd/rz/rz.html Germany |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 2+ messages in thread
* SUMMARY: rcmd: socket: permission denied
@ 2001-07-28 22:49 Johnston, Paul M (Radar 2)
0 siblings, 0 replies; 2+ messages in thread
From: Johnston, Paul M (Radar 2) @ 2001-07-28 22:49 UTC (permalink / raw)
To: tru64-unix-managers
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
----------------------------------------------------------------------------
-------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-28 22:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-28 22:49 SUMMARY: rcmd: socket: permission denied Johnston, Paul M (Radar 2)
-- strict thread matches above, loose matches on Subject: below --
2000-04-18 7:20 Klaus-Dieter Aumann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox