LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   permission denied (https://www.linuxquestions.org/questions/linux-newbie-8/permission-denied-895565/)

gleneagles49 08-04-2011 11:53 AM

permission denied
 
I Have been trying to change a file in filestarter using
sudo /etc/rsyslog.conf
but am getting a permission denied message.
How do I get into this file to change it ?
Firestarter is working ok but for some reason it cannot open the system log.
I Have found what amendments need to be made to get this to work but simply cannot get access to the file

bhageshp 08-04-2011 12:12 PM

What you are doing with this...

sudo /etc/rsyslog.conf


It a text file use some editor.

jdkaye 08-04-2011 12:22 PM

Quote:

Originally Posted by gleneagles49 (Post 4433767)
I Have been trying to change a file in filestarter using
sudo /etc/rsyslog.conf
but am getting a permission denied message.
How do I get into this file to change it ?
Firestarter is working ok but for some reason it cannot open the system log.
I Have found what amendments need to be made to get this to work but simply cannot get access to the file

Your command sudo /etc/ryslog.conf is meaningless. You need a proper command to come after "sudo". If you wanted to use an editor to edit the file then you would type something like
Code:

sudo nano /etc/rsyslog.conf
where you can substitute your favourite editor if you don't like nano. You will then be prompted for a password and you supply your own (not the root password).
ciao,
jdk


All times are GMT -5. The time now is 09:05 PM.