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

2
votes
1answer
509 views

unable to create `/etc/skel/.bash_logout.dpkg-new': No such file or directory

I can´t install any updates. I tried apt-get clean, apt-get install -f, dpkg --configure -a. Nothing helps. I even tried to create a file or a directory in /etc/skel - it cannot be done, even with ...
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 ...
6
votes
2answers
509 views

Is there an application to manage config files in the /etc folder with version control software?

I want make version control for config files in Ubuntu server. But I found out it's not easy for simply "git" whole etc folder, because so many file doesn't need to track and some time system will ...
1
vote
1answer
157 views

how to recover when /etc has been deleted on ubuntu 12.04?

I have accidentally deleted /etc. Does anybody knows how to recover from such a situation ? At least I can use ssh while the server is in rescue mode (dedicated server from ovh.com). I could ...
3
votes
1answer
72 views

How to reset config files to default, especially boot sequence

Is there a way to reset all ubuntu config files, a batch procedure?. No the local config files, I mean all /etc config files. I know how to do that one by one but that is a job for weeks or work.
4
votes
1answer
3k views

How to run a script when suspending/resuming? - Sony VAIO Ubuntu 12.04

Question: How to assign a script to run when selecting the suspend option on the power menu? Context: I have a Sony VAIO laptop, which was a recent purchase. I have managed to install the AMD Radeon ...
5
votes
1answer
138 views

Preventing Users/Groups from accessing certain Domains

I have created a Study account which I use when doing anything school related work. It's purpose is to remove the distractions of my normal account, such as social media and news websites. I know ...
3
votes
1answer
125 views

Replace /etc after reinstallation

I reinstalled Ubuntu 12.04 after a corruption caused by a faulty operation (not much interesting but you can read about it). The old system had three partitions, one for boot, one for / and one for ...
1
vote
2answers
2k views

sudo apt-get update error ubuntu 12.04

Hi I'm new in Linux and I need your help :) Every time when i type sudo apt-get update it shows: alphaog@alphaog-HP-Pavilion-DV7:~$ sudo apt-get update E: Type 'ain' is not known on line 3 in source ...
3
votes
1answer
4k views

How to fix Xubuntu LightDM Theme after installing unity.

After successfully installing Xubuntu 12.04.1 on my laptop, I decided to install Unity. That went OK but then I realized there was no themes. So then I installed the themes and artwork, and got a ...
2
votes
1answer
648 views

Ubuntu User Accounts messed up

I need to fix Ubuntu Accounts but somehow don't really see how it could be done. The problem is: files /etc/passwd and /etc/hostname and /etc/hosts where changed. /etc/passwd After ...
1
vote
0answers
59 views

What's the best way to resolve “read permission” error when including /etc in backup? [duplicate]

Possible Duplicate: How do I open Deja Dup as root? Running Ubuntu 12.04 and using the built in Backup utility (Deja-dup) to back up /home and /etc every night. Some files in /etc fail ...
2
votes
3answers
1k views

“Pointers” with $ Syntax in /etc/environment

Is it valid to have "pointers" in /etc/environment using $FOO syntax? Right now my /etc/environment looks like this: JAVA_HOME=/usr/lib/jvm/java-6-openjdk ...
0
votes
1answer
1k views

Changing the permissions in root files without sudo from recovery

Hi I recently killed my etc folder by running: sudo chmod etc 417. Due to sudo being in that folder it cannot be accesed now, so I have to change the permissions back to the correct ones using the ...
4
votes
2answers
3k views

What are the standard file permissions for the /etc directory(file)

I kinda screwed up the /etc directory by running: sudo chmod 417 /etc Leaving me unable to use sudo: sudo: can't open /etc/sudoers: permission denied. sudo: no valid sudoers sources foundm ...
0
votes
1answer
327 views

sudoers issue, worth format? [duplicate]

Possible Duplicate: How to modify a invalid /etc/sudoers file? It throws out anderror and not allowing me to edit again Hi guys I have meerkat and I must have messed sudoers. This is my ...
0
votes
1answer
568 views

What's the difference between cat /etc/group and cat /etc/group- [duplicate]

Possible Duplicate: What's the difference between the “group” and “group-” file? I just changed a group name and noticed that cat /etc/group Includes the ...
2
votes
2answers
189 views

How to physically separate partitions for User/Home access on demand?

I'm searching for months (if not years) now for a solution to the following problem: I wish to have a general setup based on the following: PC/Laptop/Notebook/Server with ... 1 (ONE) S-ATA ...
2
votes
1answer
828 views

What's the difference between the “group” and “group-” file?

I know what the /etc/group file is for, but I'm also seeing a /etc/group- file. What's the difference between the two? The same group names and ids appear in both files. Only the last column (users) ...
3
votes
1answer
3k views

How to define an environment variable systemwide with /etc/environment?

I am trying to set an environment variable system wide. Following the ubuntu site recommendations , I set it up to my /etc/environment file. The thing is when I log out and log in again, I have to ...
2
votes
1answer
2k views

Configuring multiple mouse settings

I am a left-handed thinkpad user and have grown used to using the trackpoint in its default right-handed configuration. When I use my bluetooth mouse, however, I would like the buttons to have a ...
4
votes
1answer
523 views

Why do configuration folders have *.d in their name [duplicate]

Possible Duplicate: Many directories have a “.d” suffix/extension. What does it mean? Why do most of the folders in /etc/* end with *.d I am just curious to know, why folders ...