Announcement

Collapse
No announcement yet.

init.d

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    init.d

    Hi, I am trying to install Openbravo in my computer; one of the requirements involves changing the security settings of tomcat from yes to no. To do this Iam suppose to edit the file that is found in etc/init.d ; however I cannot edit the files in this folder even as root. I can open the file in kate and modify it but when I try to save it I get the following error:
    The document could not be saved, as it was not possible to write to file:///etc/init.d/tomcat5.5.
    Also notice that when I right click on it, it does not give me the option to edit as root
    Any thoughts
    Thanx

    #2
    Re: init.d

    You need to issue a command in Konsole Terminal Program which starts
    sudo kate (details of file to be edited)
    The sudo will get you to root.
    "A problem well stated is a problem half solved." --Charles F. Kettering
    "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

    Comment


      #3
      Re: init.d

      thanx
      i get the following error when i try this
      sudo kate /etc/init.d/tomcat5.5
      kate: cannot connect to X server

      Comment


        #4
        Re: init.d

        Originally posted by arochester
        You need to issue a command in Konsole Terminal Program which starts
        sudo kate (details of file to be edited)
        The sudo will get you to root.
        Isn't (s)he already root?>
        Originally posted by salao
        ... however I cannot edit the files in this folder even as root.
        ...
        I dunno, but check if the file has write access for owner and who the owner is:
        Code:
        ls -al /etc/init.d/ |grep tomcat
        I, for example, have the write access for the owner disabled for vmware symlink.
        Migration status:<br />[DONE]Get GeForce2 MX200 working with 96xx drivers, get automount external ntfs volumes, fix resume from suspend<br />[pending]:find good BSPlayer replacement<br />If you know how to fix any of the pending problems, PM!

        Comment


          #5
          Re: init.d

          whoops, didn't see your post...
          Originally posted by salao
          thanx
          i get the following error when i try this
          sudo kate /etc/init.d/tomcat5.5
          kate: cannot connect to X server
          strange.. are you running this in konsole or actually from the other virtual terminals (Ctrl+Alt+Fn)?
          Migration status:<br />[DONE]Get GeForce2 MX200 working with 96xx drivers, get automount external ntfs volumes, fix resume from suspend<br />[pending]:find good BSPlayer replacement<br />If you know how to fix any of the pending problems, PM!

          Comment


            #6
            Re: init.d

            KDE GUI packages like Kate and Konqueror, which need to be started in Super User mode, should be started with the KDE Super User prefix:

            Code:
            kdesu kate /etc/fstab


            Super User Do, aka
            Code:
            sudo
            is for the Linux commands.

            Comment

            Working...
            X