The etc tag has no wiki summary.
1
vote
2answers
30 views
The HOST variable in /etc/sudoers
suppose mymachine:/etc/sudoers includes the line
joe someremotehost = (ALL) NOPASSWD: ALL
but someremotehost:/etc/sudoers does not say anything special about joe, then what effect does the above ...
4
votes
2answers
293 views
What do the scripts in /etc/profile.d do?
I am reading about basic shell scripting from Linux Command Line and Shell Scripting Bible.
It says that the /etc/profile file sets the environment variables at startup of the Bash shell. The ...
3
votes
1answer
66 views
Excluding files in etckeeper with .gitignore doesen't work
I use etckeeper for changes in my configfiles (on debian squeeze)
Since I also have an ircdeamon running, there are some files, that change every minute in the folder
/etc/hybserv/
I don't want to ...
5
votes
3answers
104 views
Is making /etc directory read only a bad idea?
I have an embedded system setup built using buildroot and using initramfs. It runs on compact flash device where I have created separate ext3 partitions to mount /etc/ and /var directories as well as ...
2
votes
2answers
362 views
/etc/hosts file refer to another configuration file
How can I get the /etc/hosts file to refer to another configuration file for it's list of hosts?
Example /etc/hosts:
## My Hosts
127.0.0.1 localhost
255.255.255.255 broadcasthost
#Other ...
1
vote
1answer
898 views
Error message id: cannot find name for group ID after logging in
BACKGROUND
Trevor logs into his account on ssh://foobar.university.edu as one of the developers on the box, and he gets the message:
id: cannot find name for group ID 131
Trevor then checks this ...
4
votes
3answers
539 views
How do I “merge” two text files?
I recently upgraded from Ubuntu 12.04 to 12.10 and at one point, it encountered an Apache config file conflict in apache2.conf. I didn't give me a merge option at that point, so I just rejected the ...
2
votes
2answers
563 views
Global bash_profile
I realize there are /etc/profile and /etc/bashrc files for setting global environment variables and maybe I'm just misunderstanding their purposes, but...
Is their a global bash_profile file?
This ...
7
votes
1answer
124 views
Is it normal to have a file called “shadow-” in the /etc directory?
I am noticing a lot of weird files appearing in my router and on my various filesystems. Files in weird places or files that have to do with security with a - sign after them.
If I do ls -l ...
8
votes
2answers
465 views
Why is /etc/passwd open to public for reading?
Is there any reason that /etc/passwd should be world-wide readable ? It's not like password hashes that shouldn't be exposed, I just want to know why.
4
votes
1answer
189 views
configuration ethics (esthetics): /etc vs $HOME
Ok this may not be a very concrete question, and is perhaps subject to taste, yet I'm struggling to get this right so here it goes.
I have a computer.
This computer has linux on it (thank god). Arch ...
1
vote
0answers
77 views
What is the meaning of /etc (as acronym) [duplicate]
Possible Duplicate:
What does etc stand for?
What does it mean? All I can think is etcetera. By my teacher told me that there is a more appropriate meaning.
2
votes
1answer
77 views
/etc/rc*: Why does this command stop NFS services from starting at boot?
I recently found this home networking tutorial surprisingly enlightening. However, there is one thing I don't understand:
Disabling NFS Start On Boot: If you are not planning on regularly
...
19
votes
9answers
825 views
How to keep track of changes in /etc/
I would like to keep track of changes in /etc/
Basically I'd like to know if a file was changed, by yum update or by a user and roll it back if I don't like the chage.
I thought of using a VCS like ...
6
votes
1answer
539 views
Who creates /etc/{group,gshadow,passwd,shadow}-?
In any linux system I have access to (a couple of Archlinuxes, an Ubuntu, a Debian Sid and a Gentoo) there are the following 4 files in /etc/, all ending with a dash:
/etc/group-
/etc/gshadow-
...