LinuxQuestions.org
Register a domain and help support LQ
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 09-24-2003, 02:34 PM   #1
Crimson Azure
LQ Newbie
 
Registered: Sep 2003
Location: Earth
Distribution: Redhat 9
Posts: 7

Rep: Reputation: 0
.conf Question, how to get permission?


I'm trying to install my Netgear MA101 Rev.A right now. My problem is that when I try to use the command /etc/resolv.conf or /etc/modules.conf I keep on getting an error 'bash: /etc/----.conf: Permission denied'

Could someone tell me how I can get pass this? I'm logged in as root so I don't know what's wrong =(

Last edited by Crimson Azure; 09-24-2003 at 02:57 PM.
 
Old 09-24-2003, 02:44 PM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
modules.conf and resolv.conf are not commands, they are configuration files. You need to edit them.

I would suggest using vi (ie: 'vi modules.conf') but you can also use pico, nano or any text editor you wish.
 
Old 09-24-2003, 02:45 PM   #3
mylo2003
Member
 
Registered: Jul 2003
Posts: 113

Rep: Reputation: 15
I didn't realize these were commands...i'm a newbie too but I *believe* you want to edit these files as they are .conf files.

If this is the case, are you using an editor like emacs or gedit?

IE- emacs /etc/resolv.conf

??? - unless anybody else wants to step in. Thats just my $.02.
 
Old 09-24-2003, 02:47 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,950

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
reslov.conf and modules.conf are ascii text files not commands. Use a text editor to modify.

BTW It would help to post a more descriptive title instead of "Question..." It will help others find answers to the same questions faster.
 
Old 09-24-2003, 02:53 PM   #5
Crimson Azure
LQ Newbie
 
Registered: Sep 2003
Location: Earth
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
Sorry =( I'm more of a newb I guess ^^ thanks for the help

Edit: ermmm how do I find those files =( the search for files feature only searches root and it isn't in there

Last edited by Crimson Azure; 09-24-2003 at 02:55 PM.
 
Old 09-24-2003, 02:59 PM   #6
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
when you typed /etc/modules.conf

that was the location of the file

ie: /etc is the directory and modules.conf if the file inside the /etc directory
 
Old 09-24-2003, 03:03 PM   #7
Crimson Azure
LQ Newbie
 
Registered: Sep 2003
Location: Earth
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
thanks =) erm one thing... how do I edit this file? I opened it and I see the line that I want to change but it won't allow me to change and of the stuff in it
 
Old 09-24-2003, 03:04 PM   #8
mylo2003
Member
 
Registered: Jul 2003
Posts: 113

Rep: Reputation: 15
Quote:
Originally posted by Crimson Azure
Sorry =( I'm more of a newb I guess ^^ thanks for the help

Edit: ermmm how do I find those files =( the search for files feature only searches root and it isn't in there
Searching for files in general if you know what the file is called?

find -name name of file

ie: find -name modules.conf
 
Old 09-24-2003, 03:17 PM   #9
mylo2003
Member
 
Registered: Jul 2003
Posts: 113

Rep: Reputation: 15
Quote:
Originally posted by Crimson Azure
thanks =) erm one thing... how do I edit this file? I opened it and I see the line that I want to change but it won't allow me to change and of the stuff in it
You have to be logged in as root to edit the file...


From command prompt type su
password: ***** - root password

then bring up the editor with the file you want to edit.

Good luck!
 
Old 09-24-2003, 03:55 PM   #10
Crimson Azure
LQ Newbie
 
Registered: Sep 2003
Location: Earth
Distribution: Redhat 9
Posts: 7

Original Poster
Rep: Reputation: 0
thanks for all your help =) Still need to get the Channels and stuff but I have to ask my brother for those :roll eyes: thanks again ^^
 
Old 09-24-2003, 09:50 PM   #11
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
Channels?
 
  


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
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 05:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 02:51 PM
2 part question: Speeding up MDK9.1/GNOME question wardialer Linux - Newbie 6 10-14-2004 04:16 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 03:02 PM
RE: Suse 8.0 hardware question {newbie question, pls help} Radiouk Linux - Distributions 2 06-04-2002 01:53 PM


All times are GMT -5. The time now is 02:24 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