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
Thanks in advanced!
Re: edit .conf file in /etc linux (java SE)
If you are in Linux system, Just go the terminal and login with root user name and password. From the terminal you can go that folder.
cd /etc
vim (your file).conf and enter I then edit as you need.
Enter Escape button
To Save file, Enter :wq
Let me know if it is wrong?
Thanks,
Nagaraj
Re: edit .conf file in /etc linux (java SE)
Quote:
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