SUMMARY: Disable remote commands

From: Peppe (peppe-71@libero.it)
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.

THANK YOU ALL!!!

Ciao

----- Original Message -----
From: "Peppe" <peppe-71@libero.it>
To: <sunmanagers@sunmanagers.org>
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@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:34 EDT