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
20 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
2k 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
469 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
170 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
103 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
94 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
31 views

Prevent package manager recreating files in /etc/fonts/conf.d/

I use a bitmap font for my terminal windows. In order for this to work, I need to enable bitmap fonts. In /etc/fonts/conf.d/ there's a symlink called 70-no-bitmaps.conf to the matching configuration ...
0
votes
1answer
184 views

Brightness Save on Reboot

I have a problem where the brightness does not save after a reboot on 14.04 LTS, but I had the same problem on 12.04 LTS (before I broke the system). Before you say this is a duplicate of a million ...
-1
votes
1answer
72 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 ...
2
votes
0answers
28 views

Revert system fie premissions

I have mistakely changed the permission of the entire etc directory to 777. Now I'm getting frequent errors like ... is world writable! Is there a way to revert back to the default permission? ...
1
vote
0answers
88 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
28 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
27 views

Where are groups in /etc/group documented?

I am searching the web but I cannot find where the various groups in /etc/group are documented, what they are for, etc (on a Debian/Ubuntu system, at least). What are the implications of adding ...
0
votes
0answers
38 views

Network interface

I am having a problem with my network interface in Ubuntu 12.04 LTS. When I boot up, I always get a "booting up without full network configuratio" and I will not be able to connect. I have changed ...
0
votes
0answers
210 views

Using OverlayFS to enable writing on a read only /etc

Is it a terribly bad idea to create a union mount, using OverlayFS, on top of /etc? I'm aiming to set up a system whereby a read-only root filesystem is installed on an SD card, with writeable areas ...
0
votes
0answers
38 views

Generally-accepted way of giving a user rwx permissions to /etc

I need a non-root user (say, myuser) to be able to have unbridled, recursive rwx access to /etc and anything underneath it. Hence if I execute, say: mkdir /etc/fizz I shouldn't receive any ...
0
votes
0answers
30 views

Can't find the /etc/modprobe folder

I had a problem with installing my graphics card driver, so I contacted NVIDIA suppprt. They told me to create a file in /etc/modprobe.d. folder. I cant find this folder, can anyone help me locate it? ...
0
votes
0answers
19 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 ...