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
3k 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
710 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
2k 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
168 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
107 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
20 views

/etc/hosts configuration error , ping not working

I am newbie to ubuntu plus kerberos , trying to configure kerberos in my vm ubuntu by i am not able to pass the step 2 in configuring hosts .below are the files. i am in the process of learning so ...
0
votes
1answer
77 views

autofs is not able to mount the remote folder

Hi I am trying to automount remote file system using autofs. For this I installed autofs % sudo apt-get install cifs-utils autofs Then I edited /etc/auto.master to have the following line: /ufs ...
0
votes
1answer
140 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
82 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
216 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
113 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
35 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
32 views

Language changed to German without doing anything

My system language was English but suddenly switched to German. The keyboard layout is Swiss German but until now it worked fine. Attention! Only some programs are now in German. (e.g. kate and ...
1
vote
0answers
162 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
11 views

my /etc tree is all owned by www-data

I suddenly found my /etc tree is all owned by www-data:www-data. I changed the top directories to root:root, only to have them revert to www-data. very strange
0
votes
0answers
444 views

/etc/init.d/functions: No such file or directory

I am trying to install virtual box version 5.0 on Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-91-generic x86_64) and I am getting the following errors: /usr/lib/virtualbox/vboxdrv.sh: line 85: ...
0
votes
0answers
32 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.
-1
votes
0answers
23 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 ...