LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-27-2003, 10:49 PM   #16
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47

It won't be the pers that's causing the error, there's an option somewhere in apache
that allows .php file to act as index, if you can do that from webmin: great
 
Old 11-27-2003, 11:57 PM   #17
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 964

Rep: Reputation: 32
Cool i got it now, I would be better to rename to files, just in case one stuffs up.
but yet again removing the links would be better, thinking all it does it rename and not fix the prolbem. Der on me!

starting a service like so

[root@www root]# cd /sbin
[root@www sbin]# service
Usage: service < option > | --status-all | [ service_name [ command | --full-res
tart ] ]
[root@www sbin]# service vsftpd start
Starting vsftpd for vsftpd: [ OK ]
[root@www sbin]#

is the a way to start on reboot instead of restarting them all again on reboot.

I know that one can edit the rc.d.local file by using vi /etc/rc.d/rc.local
by adding in
/etc/rc.d/init.d/httpd start

just wondering if this can be done from the command line


tommytomato
 
Old 11-28-2003, 12:11 AM   #18
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
I'm not sure if I get your question, you're working CLI now already.
If you question is how to start services on boot automaticly, the answer if again those
symlinks, make a symlink for the service you want to start in the runlevel you want.
And don't forget to kill it in /etc/rc0.d and rc6.d.
You start a service by naming a symlink SXX<name service>
where S stands for start XX is a number between 00 and 99, reflects the timing when
it gets started in that runlevel.
to kill a service the symlink has to start with a K from kill obviously.
You make symlinks with ln -s
man ls for more info.

Or you could work with xinetd or rc.local, it's all up to you.
 
Old 11-28-2003, 12:29 AM   #19
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 964

Rep: Reputation: 32
opps, i have a ton of emails coming in.

should del the emails as i read them, never mine, i've saved then to other folder.

sorry for confusing you.

what is CLI ?

Yer i was wondering if there was a way to start each one on boot,
in stead of restarting each one again after reboot..

i can go around this by editing the rc.d.local file.

but i was wondering if it can be done via the command line to save it on boot.

I was using the GUI services before, i tick the box click start then save.
but now i'm using just a shell server..

tommytomato


 
Old 11-28-2003, 12:42 AM   #20
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
CLI - command line interface.
Now I get it, yes that's possible.
Earlier this night I learnt about a little program "ntsysv", check the man page before
using it though.
 
Old 11-28-2003, 12:49 AM   #21
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 964

Rep: Reputation: 32
thanks

tommytomato
 
Old 01-04-2007, 06:59 PM   #22
stevo_fergu
LQ Newbie
 
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Stopping the portmapper on Suse Linux

rpcbind AKA portmap running on port 111

stop the service

# /etc/init.d/portmap stop

remove the start and stop scripts

# find /etc/init.d/rc* -name '*portmap' -exec rm {} \;

Last edited by stevo_fergu; 01-04-2007 at 07:02 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which of these ports can I close? buddhahat Linux - Security 6 06-13-2005 08:40 AM
How can I close ports? nectron101 Linux - Networking 3 11-28-2004 12:22 AM
how to close ports hudy Linux - Security 4 06-23-2004 01:07 PM
How do I close ports ksgill Linux - Newbie 9 10-09-2003 10:06 PM
how do i close ports. KidTonz Linux - Security 3 12-18-2001 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration