Results 1 to 5 of 5

Thread: Could not save the file /etc/syslog.conf.

  1. #1
    Join Date
    May 2007
    Location
    Atlanta GA burbs
    Beans
    29
    Distro
    Ubuntu 8.04 Hardy Heron

    Could not save the file /etc/syslog.conf.

    I am trying to change the settings for cronlog in the syslog.conf file.

    When I try to save it does not allow me.

    I suspect this is because it is a root file.

    How can I edit it and save it. I am the only user on the box.

  2. #2
    Join Date
    May 2008
    Location
    St. Louis, MO
    Beans
    865

    Re: Could not save the file /etc/syslog.conf.

    Code:
    sudo gedit /etc/syslog.conf
    in terminal

  3. #3
    Join Date
    Feb 2007
    Location
    Melbourne
    Beans
    799
    Distro
    Kubuntu 8.04 Hardy Heron

    Lightbulb Re: Could not save the file /etc/syslog.conf.

    Quote Originally Posted by Bartee View Post
    I am trying to change the settings for cronlog in the syslog.conf file.

    When I try to save it does not allow me.

    I suspect this is because it is a root file.

    How can I edit it and save it. I am the only user on the box.
    Just put "sudo" before the command (or gksudo for graphical apps).

    For example, you could edit the file with "sudo nano" or "gksudo gedit".

  4. #4
    Join Date
    Sep 2006
    Beans
    13

    Re: Could not save the file /etc/syslog.conf.

    Yes as stated above, you need to use "sudo" to gain the right to edit system files (that means almost all files except those in your home folder).

    Or to get the graphical password prompt use Alt+F2 and run :
    Code:
    gksudo gedit /etc/syslog.conf

  5. #5
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: Could not save the file /etc/syslog.conf.

    It will always be a good practice to use gksudo/gksu/kdesu for accessing graphical application that needs authentication to process tasks and to lock sudo for terminal-base application.

    Code:
    gksudo gedit /etc/syslog.conf
    Code:
    sudo nano /etc/syslog.conf
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •