How do I shut down this ports

Stephen Smoogen smoogen at lanl.gov
Tue Aug 5 15:49:49 UTC 2003


I have found that a slight variation works better in case of a bug in 
the /etc/rc.d/init.d/xxx script

/etc/rc.d/init.d/xxx off
/usr/sbin/chkconfig --level 12345 xxx off


On Tue, 5 Aug 2003, Michael K. Johnson wrote:

>On Tue, Aug 05, 2003 at 12:24:33AM -0600, Abraham Al-Saleh wrote:
>> Now, to turn off portmap (if it is ok to do this) type (blah blah, as
>> root.):
>> 
>> 	service portmap stop
>> 
>> if you wish to permanently disable it use (root...):
>> 
>> 	mv /etc/rc.d/rc[rl].d/S13portmap /etc/rc.d/rc[rl].d/K13portmap
>
>Eeek, do it the easy way!  :-)
>
>	chkconfig portmap off
>
>michaelkjohnson
>
> "He that composes himself is wiser than he that composes a book."
> Linux Application Development                     -- Ben Franklin
> http://people.redhat.com/johnsonm/lad/
>
>
>--
>Rhl-beta-list mailing list
>Rhl-beta-list at redhat.com
>http://www.redhat.com/mailman/listinfo/rhl-beta-list
>

-- 
Stephen John Smoogen            smoogen at lanl.gov
Los Alamos National Labrador  CCN-5 Sched 5/40  PH: 5-8058
Ta-03 SM-261  MailStop P208 DP 17U  Los Alamos, NM 87545
-- So shines a good deed in a weary world. = Willy Wonka --





More information about the fedora-test-list mailing list