If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

edit .conf file in /etc linux (java SE)

Hi everyone!
This time I have a java SE web start application hosted in a Linux/Debian server
I need to edit a .conf file from the /etc directory folder in the Debian server but I have no idea how to access this file if it's not within the public /www folder. I think it has to do with apache users and permissions, but my linux knowledges are just few

Re: edit .conf file in /etc linux (java SE)

Originally Posted by luisp88

Hi everyone!
This time I have a java SE web start application hosted in a Linux/Debian server
I need to edit a .conf file from the /etc directory folder in the Debian server but I have no idea how to access this file if it's not within the public /www folder. I think it has to do with apache users and permissions, but my linux knowledges are just few

Thanks in advanced!

Are you talking about an Apache HTTP Server, right?
To find out where is located you can check using "httpd -V", or "ps auxww | grep httpd", to know where the process is running.
Config file is usually named httpd.conf. Whether you can edit or not, depends on permissions.
If your user belongs to apache group, you probably will able to modify it (check using "groups" command). Another possibility is that your user has permissions in sudoers file: check it using "sudo -l". You will see if your user has permission to modify that file. If you are able to modify, then use command sudo to edit file.
If nothing works, then you must talk to your system administrator to get permissions.

Albert

Please, correct me. I'm just learning.... and sorry for my english :-)

* The Perfect Platform for Game Developers: Android
Developing rich, high performance Android games from the ground up is a daunting task. Intel has provided Android developers with a number of tools that can be leveraged by Android game developers.

* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.