Questions about files beneath `/etc`: How to handle them, how they are important, how to make backups, how to find important information.

learn more… | top users | synonyms

0
votes
2answers
17 views

Avoid initial full directory commit & rather add file to VCS just before modifying the file?

Could I put a certain file in some VCS like git/subversion/etc only "when" I am modifying it. So first I put the unmodified version & then the modified version. The desire is to put the file in ...
0
votes
2answers
1k views

Accidentally deleted /etc/apt/apt.conf.d

I accidentally deleted the apt.conf.d folder and cant install (use the apt-get) anything =( . When I try to locate the apt.conf.d in the apt folder , its no longer there . EDIT: When I open the apt ...
3
votes
1answer
183 views

How to make etckeeper use the right value for git author & email with apt-get

I'm using git with etckeeper. When I use sudo git to commit changes in /etc/, GIT_AUTHOR_NAME & GIT_AUTHOR_EMAIL from my env are used (as intended). When I use sudo apt-get and changes are ...
1
vote
1answer
64 views

How can I prevent auto-mounting of a partition in fstab?

Previously, I prevented auto-mounting of a particular partition at boot by the following line in /etc/fstab UUID=<alphanumeric> /media/windowsHDD ntfs user,noauto 0 0 At some point in the ...
1
vote
1answer
79 views

Change the color of the text that appears at the beginning of startup

I would like to know how to make the "OK" in "[ OK ]" green, like there is displayed at the startup of OpenSuse: Starting xxxxxxxxxx [ OK ] <- Green Color Starting xxxxxxxxxx [ OK ] <- ...
1
vote
1answer
88 views

How can I backup the whole system status (not documents)?

I want to backup my system status, like Installed Packeges What's on my sidebar Grub Settings Kernel... in order to restore it in case of system crash. I don't care about my document, music, ...
0
votes
1answer
41 views

/ect/hosts file error

I am having some issues while running apt-get from my command line. I looked into some answers in askubuntu and found that we have to edit /etc/hosts file. The only entries present in that were more ...
0
votes
1answer
126 views

hwclock vs rcS.d/S11hwclock.sh what is the difference between the two?

Could someone kindly explain the difference between these two files? hwclock.sh rcS.d/S11hwclock.sh I understand these files are both to do with the motherboard clock, but i dont see the ...
1
vote
0answers
55 views

Localhost port aliased

I wanted to use /etc/hosts to define "aliases" for multiple services localhosted like: 127.0.0.1 localhost 127.0.0.1:8080 machin 127.0.0.1:8081 truc But it doesn't seem to work, surely because ...
1
vote
0answers
23 views

What is the use for /etc/default/* when daemonizing a process

I have some configuration files under /etc/default and one of them is for a service that should be started at boot so I changed the configuration file to say: START=yes But I have scripts in ...
0
votes
0answers
14 views

Is there a database with all default configuration files for each release?

I would like to see each configuration file in /etc for all packages, so I can compare the default configuration of one Ubuntu release with the next one. I need this to find a solution for the ...
0
votes
0answers
50 views

etc/config/wireless missing in my ubuntu 13.10 which i need to configure batman or olsr

I was trying to implement batman or olsr routing protocol but most of the documents say to configure etc/config/wireless file or other files which is not there in mine. Is it because i have the latest ...
0
votes
0answers
37 views

/etc/environment with UsePAM set to no

I've disabled password logins to my computer and have set usePAM no in sshd.conf. My understanding is that /etc/environment will now not be read (because PAM is disabled). Is this true and if so, ...
0
votes
0answers
141 views

Error while installing Ubuntu 12.04

While installing Ubuntu 12.04, there is a process called expanding. 60% of this process was completed but then the progress stopped. Why does this happen, abd how long will it take to complete? ...
0
votes
0answers
232 views

Directory /ETC has been moved! — Ubuntu 13.04

I made a bad move by moving my "/etc" directory to Dropbox in hopes to sync two computer enviroments. AFter moving the "/etc" directory any sudo commands responded with "Who is this UID 1000?". ...
0
votes
0answers
42 views

System wide configuration parameters in configuration files (/etc, e.g.)

I am searching for a way to use a variable-like system in configuration files from diferent aplications. For instance instead of writing my ip in sshd config file and having to change it later, I ...