This repository has been archived by the owner. It is now read-only.
/etc directory from our shell servers, managed via etckeeper
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.java/.systemPrefs committing changes in /etc after apt run Jan 2, 2016
ImageMagick-6 committing changes in /etc after apt run Dec 3, 2016
Muttrc.d committing changes in /etc after apt run May 26, 2016
X11/Xsession.d committing changes in /etc after apt run Oct 31, 2017
acpi
alternatives committing changes in /etc after apt run Oct 31, 2017
ansible committing changes in /etc after apt run Apr 25, 2017
apache2/conf-available committing changes in /etc after apt run Dec 4, 2016
apparmor.d committing changes in /etc after apt run Sep 23, 2017
apt committing changes in /etc after apt run Jan 13, 2018
at-spi2
audisp committing changes in /etc after apt run Feb 14, 2015
audit committing changes in /etc after apt run Feb 14, 2015
bash_completion.d
bitlbee committing changes in /etc after apt run Jan 2, 2016
byobu committing changes in /etc after apt run Jan 16, 2016
calendar
console-setup committing changes in /etc after apt run May 7, 2015
cracklib committing changes in /etc after apt run Feb 16, 2015
cron.d committing changes in /etc after apt run Dec 4, 2016
cron.daily cron.daily/gpg-keyring: Fix permissions issues Jan 16, 2018
cron.hourly cron.hourly: Remove obsolete “group 3000” script Oct 29, 2016
cron.monthly committing changes in /etc after apt run Dec 3, 2016
cron.weekly committing changes in /etc after apt run Dec 3, 2016
cruft/filters-unex Initial commit Feb 13, 2015
dbus-1 committing changes in /etc after apt run Jun 16, 2015
default committing changes in /etc after apt run Oct 30, 2017
dhcp Initial commit Feb 13, 2015
dictionaries-common Initial commit Feb 13, 2015
dirmngr committing changes in /etc after apt run Oct 30, 2017
discover.conf.d Initial commit Feb 13, 2015
dpkg committing changes in /etc after apt run Mar 18, 2016
elinks committing changes in /etc after apt run Mar 28, 2015
emacs committing changes in /etc after apt run Mar 17, 2016
emacs24/site-start.d committing changes in /etc after apt run Apr 4, 2015
etckeeper apt: More permissions fixups Sep 1, 2016
ferm ferm: Fix indentation Sep 15, 2016
firejail firejail: Revert to #!-specific config. Apr 30, 2017
fish committing changes in /etc after apt run Aug 8, 2016
fonts committing changes in /etc after apt run Apr 4, 2015
gconf committing changes in /etc after apt run Jan 15, 2016
gdb committing changes in /etc after apt run Sep 6, 2015
ghostscript committing changes in /etc after apt run Apr 4, 2015
glances committing changes in /etc after apt run Feb 24, 2015
gnupg gnupg: Symlink the old keyring to the new one Oct 29, 2017
groff Initial commit Feb 13, 2015
grub.d Initial commit Feb 13, 2015
gss/mech.d Initial commit Feb 13, 2015
gtk-2.0 committing changes in /etc after apt run Feb 21, 2015
gtk-3.0 committing changes in /etc after apt run Apr 4, 2015
hashbang Add welcome message in /etc Jan 18, 2017
init.d committing changes in /etc after apt run Oct 30, 2017
init committing changes in /etc after apt run Dec 4, 2016
initramfs-tools saving uncommitted changes in /etc prior to apt run May 27, 2015
insserv.conf.d committing changes in /etc after apt run May 16, 2016
iproute2 Initial commit Feb 13, 2015
iscsi Initial commit Feb 13, 2015
joe committing changes in /etc after apt run Jan 2, 2016
john committing changes in /etc after apt run Feb 19, 2015
kbd Initial commit Feb 13, 2015
kernel committing changes in /etc after apt run Jul 3, 2015
ld.so.conf.d committing changes in /etc after apt run Feb 26, 2015
ldap Initial commit Feb 13, 2015
libnl-3 committing changes in /etc after apt run Feb 16, 2015
lighttpd committing changes in /etc after apt run Feb 27, 2015
logcheck saving uncommitted changes in /etc prior to apt run Jul 3, 2015
logrotate.d
luarocks Add luarocks config for 5.3 Mar 4, 2016
lynx-cur committing changes in /etc after apt run Mar 28, 2015
man/man7
mc mc: Import config files Nov 15, 2015
modprobe.d Initial commit Feb 13, 2015
modules-load.d Initial commit Feb 13, 2015
mysql committing changes in /etc after apt run Dec 4, 2016
nethack committing changes in /etc after apt run Jan 2, 2016
network committing changes in /etc after apt run Apr 25, 2017
newt etckeeper: Massive permission cleanup Jan 16, 2016
openal committing changes in /etc after apt run Jan 15, 2016
openntpd committing changes in /etc after apt run Nov 7, 2016
pam.d Enforce per-user ressource limits on CPU, RAM and I/O Sep 22, 2017
perl committing changes in /etc after apt run Aug 3, 2016
php5 committing changes in /etc after apt run Dec 4, 2016
pm/sleep.d Initial commit Feb 13, 2015
polkit-1 committing changes in /etc after apt run Apr 4, 2015
postfix postfix: Require TLSv1.2 or later and Mozilla's “modern” cipherlist Nov 22, 2017
ppp committing changes in /etc after apt run Feb 21, 2015
profile.d profile.d/dotfiles: Fixup maildir creation Apr 5, 2018
purple committing changes in /etc after apt run Jan 15, 2016
python Initial commit Feb 13, 2015
python2.7 Initial commit Feb 13, 2015
python3.4 Initial commit Feb 13, 2015
python3 Initial commit Feb 13, 2015
ranger committing changes in /etc after apt run Jan 16, 2016
rc0.d committing changes in /etc after apt run Oct 30, 2017
rc1.d committing changes in /etc after apt run Oct 30, 2017
rc2.d
rc3.d
rc4.d committing changes in /etc after apt run Oct 30, 2017
rc5.d committing changes in /etc after apt run Oct 30, 2017
rc6.d committing changes in /etc after apt run Oct 30, 2017
rcS.d committing changes in /etc after apt run Sep 6, 2016
redis committing changes in /etc after apt run Jan 2, 2016
resolvconf committing changes in /etc after apt run May 16, 2016
rsyslog.d committing changes in /etc after apt run Apr 4, 2016
sane.d committing changes in /etc after apt run Apr 4, 2015
security security/limits.sh: Fixup Sep 23, 2017
selinux committing changes in /etc after apt run Mar 18, 2016
sensors.d committing changes in /etc after apt run Feb 24, 2015
sgml committing changes in /etc after apt run Feb 11, 2016
siege committing changes in /etc after apt run Jan 2, 2016
skel committing changes in /etc after apt run Oct 31, 2017
ssh ssh: Hotfix for the previous hotfix Jun 24, 2017
ssl remove various non-portable changes/files Mar 4, 2015
sssd sssd: Disable debug logs Feb 9, 2017
subversion committing changes in /etc after apt run Aug 29, 2017
sudoers.d sudo: Run hashbangctl with NOEXEC Feb 20, 2016
sysctl.d hide dmesg from users Feb 14, 2015
sysstat committing changes in /etc after apt run May 18, 2016
systemd systemd/system/crontab@.timer: Fix timing issues Jan 16, 2018
terminfo Initial commit Feb 13, 2015
tmpfiles.d namespaces: Give users a minimalistic /dev Feb 21, 2016
tor committing changes in /etc after apt run Jan 17, 2018
udev Remove udev/rules.d/70-persistent-net.rules from etckeeper control Dec 29, 2015
ufw/applications.d committing changes in /etc after apt run Feb 21, 2015
unbound
urlview committing changes in /etc after apt run Feb 13, 2016
vim Initial commit Feb 13, 2015
w3m committing changes in /etc after apt run Mar 28, 2015
wildmidi committing changes in /etc after apt run Jan 15, 2016
xdg committing changes in /etc after apt run Mar 18, 2016
xml
zsh emulate sh when in zsh Mar 9, 2016
.etckeeper .etckeeper: Remove user slice chmods Jan 17, 2018
.gitignore .gitignore: fix line at end of file Jan 17, 2018
LICENSE.md Added LICENSE file. Sep 27, 2015
Muttrc committing changes in /etc after apt run May 26, 2016
README.md remove cumbersome and near pointless multi-commit signing instruction Jun 30, 2016
adduser.conf Initial commit Feb 13, 2015
aliases aliases: Direct mail for root@ to root@hashbang.sh May 13, 2017
at.deny committing changes in /etc after apt run Jan 19, 2016
atool.conf committing changes in /etc after apt run Jan 16, 2016
bash.bashrc Initial commit Feb 13, 2015
bash_completion committing changes in /etc after apt run Mar 9, 2015
bindresvport.blacklist Initial commit Feb 13, 2015
ca-certificates.conf committing changes in /etc after apt run Apr 25, 2017
cowpoke.conf committing changes in /etc after apt run May 24, 2016
crontab Install command-not-found Oct 10, 2015
debconf.conf Initial commit Feb 13, 2015
debian_version committing changes in /etc after apt run Jan 4, 2018
debsums-ignore committing changes in /etc after apt run Dec 3, 2016
deluser.conf Initial commit Feb 13, 2015
devscripts.conf apt: More permissions fixups Sep 1, 2016
discover-modprobe.conf
environment
fstab.sample namespace: Stop isolating /dev/pts for now Feb 26, 2016
fuse.conf committing changes in /etc after apt run Jan 16, 2016
gai.conf Initial commit Feb 13, 2015
gemrc Use --bindir instead of -n in gemrc Mar 16, 2015
group committing changes in /etc after apt run Oct 30, 2017
hddtemp.db committing changes in /etc after apt run Feb 24, 2015
host.conf Initial commit Feb 13, 2015
hosts.allow Initial commit Feb 13, 2015
hosts.deny Initial commit Feb 13, 2015
inittab
inputrc Initial commit Feb 13, 2015
insserv.conf Initial commit Feb 13, 2015
irssi.conf committing changes in /etc after apt run Feb 14, 2015
issue Initial commit Feb 13, 2015
issue.net Initial commit Feb 13, 2015
kernel-img.conf Initial commit Feb 13, 2015
ld.so.conf Initial commit Feb 13, 2015
lftp.conf committing changes in /etc after apt run Jan 16, 2016
libaudit.conf Initial commit Feb 13, 2015
locale.alias Initial commit Feb 13, 2015
locale.gen Initial commit Feb 13, 2015
localtime Initial commit Feb 13, 2015
login.defs Make sure umask is correct May 12, 2015
logrotate.conf Fix logrotate opening up permissions of wtmp May 7, 2015
ltrace.conf committing changes in /etc after apt run Feb 16, 2015
magic Initial commit Feb 13, 2015
magic.mime Initial commit Feb 13, 2015
mailcap committing changes in /etc after apt run Oct 31, 2017
mailcap.order Initial commit Feb 13, 2015
mailname add mailname Mar 7, 2015
manpath.config
matplotlibrc committing changes in /etc after apt run Jan 16, 2016
mime.types Initial commit Feb 13, 2015
mke2fs.conf Initial commit Feb 13, 2015
mkshrc committing changes in /etc after apt run Oct 31, 2017
modules Initial commit Feb 13, 2015
motd Initial commit Feb 13, 2015
msmtprc msmtp: Require valid certificate, rather than pinning by fingerprint Sep 12, 2017
nanorc Initial commit Feb 13, 2015
nova-agent.env Initial commit Feb 13, 2015
npmrc npmrc: add default configuration, PREFIX in $HOME/.npm-packages Jan 11, 2017
nscd.conf
nslcd.conf
nsswitch.conf nsswitch: sudoers info does not come from NSS Feb 20, 2016
oidentd.conf Remove 'deny reply' option. Jul 3, 2015
oidentd_masq.conf saving uncommitted changes in /etc prior to apt run Jul 3, 2015
os-release Initial commit Feb 13, 2015
packages.txt packages.txt: Fix adding weechat plugins Jan 17, 2018
pam.conf Initial commit Feb 13, 2015
papersize committing changes in /etc after apt run Apr 4, 2015
passwd committing changes in /etc after apt run Oct 30, 2017
procmailrc saving uncommitted changes in /etc prior to apt run Feb 22, 2015
profile profile: Fix umask Feb 12, 2016
protocols Initial commit Feb 13, 2015
qemu-ifdown committing changes in /etc after apt run Feb 23, 2016
qemu-ifup committing changes in /etc after apt run Feb 23, 2016
rc.local Initial commit Feb 13, 2015
reportbug.conf committing changes in /etc after apt run Feb 11, 2016
rmt Initial commit Feb 13, 2015
rpc Initial commit Feb 13, 2015
rsyslog.conf Disable logging to local files Feb 23, 2016
sbcl.rc committing changes in /etc after apt run Jan 2, 2016
screenrc committing changes in /etc after apt run Feb 14, 2015
securetty Initial commit Feb 13, 2015
sensors3.conf committing changes in /etc after apt run Feb 24, 2015
services Initial commit Feb 13, 2015
shells committing changes in /etc after apt run Oct 31, 2017
staff-group-for-usr-local Initial commit Feb 13, 2015
sudoers sudo: Always allocate a new pseudo-terminal Jan 31, 2018
sysctl.conf
tigrc committing changes in /etc after apt run Jun 1, 2015
timezone Initial commit Feb 13, 2015
tudurc committing changes in /etc after apt run Jan 16, 2016
ucf.conf Initial commit Feb 13, 2015
wgetrc Initial commit Feb 13, 2015
wyrdrc committing changes in /etc after apt run Jan 16, 2016
zsh_command_not_found Install command_not_found Nov 15, 2015

README.md

shell-etc

http://github.com/hashbang/shell-etc

About

This is the '/etc' directory of the #! shell servers. Git management is handled via etckeeper

New servers added to the pool will also have this configuration to give users an equal experience.

Requirements

  • Debian 7+

Contribution

Making changes to this repo will require a running #! shell server.

An easy way to set this up locally is by running our latest shell-server Docker image.

A command like the following can get you going with a local development server:

docker run -d \
  -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
  -v $PWD:/etc-git \
  -v $HOME/.gitconfig:/root/.gitconfig:ro \
  --name shell-server \
  --cap-add SYS_ADMIN \
  hashbang/shell-server

From here you can enter this environment with:

docker exec -it shell-server bash

In this environment you can make updates and install packages with apt-get. Changes will automatically be committed and pushed to your working shell-etc checkout by etckeeper. Assuming you chose to mount your .gitconfig above, the changes should be attributed correctly as you.

Any changes made to /etc without apt-get will need to be committed/pushed in place, which should be reflected in your local checkout as well.

When you are ready to contribute your changes upstream, please push to a branch or a fork and make a pull request.

Note: the above workflow is only suitable for making very basic changes like new package installations etc. If you want to do something more complex that requires interaction with a user database, etc, please consider using our end-to-end local development setup, documented here: hashbang/hashbang

GPG signing

If you prefer to GPG sign your commits, a couple of options exist.

Manual

You can manually sign your most recent commit before pushing with:

git commit -S --amend

Automatic

Assuming you use git auto-signing and have ssh-agents set up properly, you can opt to expose your gpg/ssh sockets by adding the following arguments to your docker run command:

...
  -v $HOME/.gitconfig:/root/.gitconfig:ro \
  -v $HOME/.gnupg:/root/.gnupg \
  -v $SSH_AUTH_SOCK:/root/.ssh-agent \
  -e SSH_AUTH_SOCK=/root/.ssh-agent \
...

Notes

Use at your own risk. You may be eaten by a grue.

Questions/Comments?

Talk to us via:

Email | IRC | Github