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
22 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
608 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
535 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
133 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
99 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
70 views

Where is the source file for commands in /etc/init.d

I am completely new to ubuntu and all commands. I can see list of things inside etc/init.d. I have hadoop-hdfs-namenode in my /etc/init.d. I want to edit the source file of that command so that i can ...
0
votes
1answer
70 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
209 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 ...
-2
votes
1answer
96 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
33 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
120 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 ...
0
votes
0answers
12 views

How to password protect grub menu from changes to get into the root shell

Try to password protect through the /etc/grub.d/00_header and put in the cat lines to do so but I can still change what I want from grub.
0
votes
0answers
18 views

What is safe to do while reinstalling from an almost bricked xubuntu?

Chronological order of events: Flashed, and installed play-Linux distro. see: http://play-linux.com/about; Poorly installed a non hybrid propriety driver: nvidia 349; Manage to install nvidia ...
0
votes
0answers
160 views

I can't boot: SMBus Host Controller not enabled

I'm using Ubuntu Server 14.04.2 on Hydrahost without the GUI and run on console only. I need to autologin my guest user and try to follow the answer on this page, but it turns out make my Ubuntu ...
0
votes
0answers
88 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
57 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 ...