SUMMARY: Disable remote commands

From: Peppe <>
Date: Thu Jun 12 2003 - 12:32:36 EDT
Edit inetd.conf, commenting out the lines for:

#shell  stream  tcp nowait  root    /usr/sbin/in.rshd   in.rshd
#shell  stream  tcp6    nowait  root    /usr/sbin/in.rshd   in.rshd
#login  stream  tcp6    nowait  root    /usr/sbin/in.rlogind    in.rlogind
#exec   stream  tcp nowait  root    /usr/sbin/in.rexecd in.rexecd
#exec   stream  tcp6    nowait  root    /usr/sbin/in.rexecd in.rexecd

Then do 'pkill -HUP inetd' to make inetd re-read the config file.



----- Original Message ----- 
From: "Peppe" <>
To: <>
Sent: Wednesday, June 11, 2003 5:04 PM
Subject: Disable remote commands

> Hi to all
> I want disable remote shell and remote copy for every users on a system.
> I suppose I have to modify file /etc/inetd.conf but I'm not sure and don't
> know the way
> Coul'd you help me?
> Thank you in advance
> Giuseppe
> _______________________________________________
> sunmanagers mailing list
sunmanagers mailing list
Received on Thu Jun 12 12:37:08 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:12 EST