LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-15-2005, 01:17 PM   #1
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Rep: Reputation: 35
no rc.local


Hi all

I am following this guide

http://www.geekspeek.org/modules.php...article&sid=35

to set up my ftp.

All is well, except where I get to the bit where I add something to my /etc/rc.local...

I DONT HAVE ONE!

How do i create one? I tried creating a text file called rc.local, in the /etc dir and running chmod +x on it...but it is still a text file. Am I right in saying I need it to be a shell script?

As soon as I get this hiccup sorted out I should be able to continue with the setup

Thanks!!

HOng
 
Old 03-15-2005, 01:43 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
A shell script is a text file... with shell commands in it. Not all distributions use an rc.local file, which is likely your bigger problem. What distribution are you using?
 
Old 03-15-2005, 01:48 PM   #3
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
Matir, I messed up!! I'm on Knoppix.

Due to my inpatience:

I found this: http://www.plope.com/Members/chrism/...rc_local_equiv

And followed the info. Now I want to reverse this!!

Is it as simple as going to /etc/init.d/ and deleting 'local'?

Or do I have to do that then run some kind of update command?

Basically I created it, rebooted and the text that normally comes up before launching init level 5 was different so now I am panicing...
 
Old 03-15-2005, 02:16 PM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Knoppix is Debian based and does not use rc.local. You should be able to just delete local. There is Debian package for called pure-ftpd. You need to point your /etc/sources.list at either testing or unstable and then do apt-get update and then do apt-get install pure-ftpd
 
Old 03-15-2005, 02:38 PM   #5
hongman
Member
 
Registered: Feb 2005
Location: UK
Distribution: Knoppix 3.7
Posts: 285

Original Poster
Rep: Reputation: 35
thanks. its all sorted now i think!
 
  


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
Setup local machine to allow lan machines to retrieve its local user mail. Brian1 Linux - Networking 3 03-30-2006 05:04 AM
Local webserver -- How to deny all client install their local web server--Please help b:z Linux - Networking 13 04-16-2005 07:11 PM
Regarding rc.local subaruwrx Linux - Newbie 11 10-11-2004 08:04 AM
where's my rc.local TheChicken Linux - Newbie 4 04-05-2004 01:38 PM
Cannot resolve local addresses on local network danielgrenyer Linux - Networking 6 01-14-2004 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration