matthijs/servers/drsnuggles.git
15 years agosystem: Set hostname and mailname
Matthijs Kooijman [Fri, 17 Apr 2009 13:15:44 +0000 (15:15 +0200)]
system: Set hostname and mailname

15 years agophpldapadmin: Display displayName whenever possible.
Matthijs Kooijman [Wed, 15 Apr 2009 17:47:16 +0000 (19:47 +0200)]
phpldapadmin: Display displayName whenever possible.

15 years agophpldapadmin: Start autonumbering at 0, for uniqueNumber.
Matthijs Kooijman [Wed, 15 Apr 2009 17:45:40 +0000 (19:45 +0200)]
phpldapadmin: Start autonumbering at 0, for uniqueNumber.

We want to use phpldapadmin's autonumber feature for uniqueNumbers as
well as uidNumbers. This makes sure that uniqueNumbers don't jump up to
1000.

15 years agolighttpd: Re-enable cgi handling for gitweb.
Matthijs Kooijman [Tue, 7 Apr 2009 20:38:37 +0000 (22:38 +0200)]
lighttpd: Re-enable cgi handling for gitweb.

This was accidentally disabled in a previous commit.

15 years agolighttpd: Load mod_auth before other modules.
Matthijs Kooijman [Sun, 5 Apr 2009 09:21:12 +0000 (11:21 +0200)]
lighttpd: Load mod_auth before other modules.

Loading mod_auth last broke authentication on fastcgi enabled urls.

15 years agofastcgi: Add trac for stderr.nl.
Matthijs Kooijman [Fri, 3 Apr 2009 11:30:11 +0000 (13:30 +0200)]
fastcgi: Add trac for stderr.nl.

15 years agofastcgi: Pass the site dir to each fastcgi daemon.
Matthijs Kooijman [Fri, 3 Apr 2009 11:29:53 +0000 (13:29 +0200)]
fastcgi: Pass the site dir to each fastcgi daemon.

15 years agolighttpd: Update indigetes.stderr.nl to blues.
Matthijs Kooijman [Fri, 3 Apr 2009 11:28:56 +0000 (13:28 +0200)]
lighttpd: Update indigetes.stderr.nl to blues.

Also point the configuration at the new trac fcgi server.

15 years agolighttpd: Use a patched version of phpldapadmin.
Matthijs Kooijman [Fri, 3 Apr 2009 11:15:54 +0000 (13:15 +0200)]
lighttpd: Use a patched version of phpldapadmin.

15 years agoaddsite: Give webmasters and www-data access to the data dir.
root [Sun, 29 Mar 2009 21:40:00 +0000 (23:40 +0200)]
addsite: Give webmasters and www-data access to the data dir.

15 years agolighttpd: Add configuration for weblog.ninniach.nl.
root [Sun, 29 Mar 2009 21:39:31 +0000 (23:39 +0200)]
lighttpd: Add configuration for weblog.ninniach.nl.

15 years agoaddsite: Give webmasters write access to the data dir.
Matthijs Kooijman [Sun, 29 Mar 2009 19:36:45 +0000 (21:36 +0200)]
addsite: Give webmasters write access to the data dir.

15 years agofastcgi: Enable php for ninniach.nl.
Matthijs Kooijman [Sun, 29 Mar 2009 19:24:20 +0000 (21:24 +0200)]
fastcgi: Enable php for ninniach.nl.

15 years agolighttpd: Add configuration for ninniach.nl.
Matthijs Kooijman [Sun, 29 Mar 2009 19:18:29 +0000 (21:18 +0200)]
lighttpd: Add configuration for ninniach.nl.

15 years agolighttpd: Enable phpldapadmin on www.stderr.nl/ldap.
Matthijs Kooijman [Sun, 29 Mar 2009 19:18:02 +0000 (21:18 +0200)]
lighttpd: Enable phpldapadmin on stderr.nl/ldap.

15 years agolighttpd: Enable blosxom on www.stderr.nl/blosxom.
Matthijs Kooijman [Sun, 29 Mar 2009 19:16:37 +0000 (21:16 +0200)]
lighttpd: Enable blosxom on www.stderr.nl/blosxom.

This is not the final configuration, but it should make blosxom work for
now.

15 years agolighttpd: Enable mod_setenv.
Matthijs Kooijman [Sun, 29 Mar 2009 19:15:44 +0000 (21:15 +0200)]
lighttpd: Enable mod_setenv.

15 years agolighttpd: Add comment.
Matthijs Kooijman [Sun, 29 Mar 2009 19:15:12 +0000 (21:15 +0200)]
lighttpd: Add comment.

15 years agoaddsite: Create the directory properly.
Matthijs Kooijman [Sun, 29 Mar 2009 16:18:18 +0000 (18:18 +0200)]
addsite: Create the directory properly.

15 years agoaddsite: Add www users and groups in their own OU's.
Matthijs Kooijman [Sun, 29 Mar 2009 16:17:45 +0000 (18:17 +0200)]
addsite: Add www users and groups in their own OU's.

15 years agophpldapadmin: Make SSHA default password hashing.
Matthijs Kooijman [Sun, 29 Mar 2009 15:50:10 +0000 (17:50 +0200)]
phpldapadmin: Make SSHA default password hashing.

15 years agoUpdate the list of allowed shells.
Matthijs Kooijman [Sun, 29 Mar 2009 15:48:39 +0000 (17:48 +0200)]
Update the list of allowed shells.

15 years agophpldapadmin: User /home/%uid as homedir.
Matthijs Kooijman [Sun, 29 Mar 2009 15:48:02 +0000 (17:48 +0200)]
phpldapadmin: User /home/%uid as homedir.

15 years agophpldapadmin: Add hostObject to new user accounts.
Matthijs Kooijman [Sun, 29 Mar 2009 15:47:10 +0000 (17:47 +0200)]
phpldapadmin: Add hostObject to new user accounts.

15 years agophpldapadmin: Add phpldapadmin configuration.
Matthijs Kooijman [Sun, 29 Mar 2009 14:56:29 +0000 (16:56 +0200)]
phpldapadmin: Add phpldapadmin configuration.

15 years agogitweb: Update the urls that gitweb publishes.
Matthijs Kooijman [Mon, 5 Jan 2009 14:49:34 +0000 (15:49 +0100)]
gitweb: Update the urls that gitweb publishes.

The http url no longer needs /git/ and ssh no longer needs
/data/vcs/git/.

15 years agolighttpd: Redirect git.stderr.nl/*.git to /data/vcs/git.
Matthijs Kooijman [Mon, 5 Jan 2009 14:48:12 +0000 (15:48 +0100)]
lighttpd: Redirect git.stderr.nl/*.git to /data/vcs/git.

This replaces the symlink in the htdocs directory and removes the /git/
from the url.

15 years agolighttpd: Enable phpmyadmin on /mysql on all vhosts.
Matthijs Kooijman [Mon, 5 Jan 2009 08:58:56 +0000 (09:58 +0100)]
lighttpd: Enable phpmyadmin on /mysql on all vhosts.

15 years agofastcgi: Enable php for stderr.nl
Matthijs Kooijman [Mon, 5 Jan 2009 08:56:22 +0000 (09:56 +0100)]
fastcgi: Enable php for stderr.nl

15 years agoMerge commit 'origin/template' into www
root [Tue, 30 Dec 2008 17:07:16 +0000 (18:07 +0100)]
Merge commit 'origin/template' into www

* commit 'origin/template':
  pam: Deny everything in pam.d/other.
  pam: Add default pam.d/other file.
  pam: Fix pam configuration for cron.
  pam: Don't allow console logins.
  pam: Allow only root to change shells and user info.
  pam: Add default pamd.d/{chfn,chsh,cron,login} files.
  pam: Remove all but one line from pam.d/su.
  pam: Add default pam.d/su file.

15 years agopam: Deny everything in pam.d/other.
Matthijs Kooijman [Tue, 30 Dec 2008 16:04:28 +0000 (17:04 +0100)]
pam: Deny everything in pam.d/other.

15 years agopam: Add default pam.d/other file.
Matthijs Kooijman [Tue, 30 Dec 2008 16:01:26 +0000 (17:01 +0100)]
pam: Add default pam.d/other file.

15 years agopam: Fix pam configuration for cron.
Matthijs Kooijman [Tue, 30 Dec 2008 15:50:45 +0000 (16:50 +0100)]
pam: Fix pam configuration for cron.

This allows non-ldap users (say, root) to use cron.

15 years agopam: Don't allow console logins.
Matthijs Kooijman [Tue, 30 Dec 2008 10:38:15 +0000 (11:38 +0100)]
pam: Don't allow console logins.

We don't have a console on a vserver anyway...

15 years agopam: Allow only root to change shells and user info.
Matthijs Kooijman [Tue, 30 Dec 2008 10:36:39 +0000 (11:36 +0100)]
pam: Allow only root to change shells and user info.

Since changing user info and shells for ldap users is not supported by
chfn and chsh anyway, and we have no real users that are not in ldap,
limiting this to just root makes sense.

15 years agopam: Add default pamd.d/{chfn,chsh,cron,login} files.
Matthijs Kooijman [Tue, 30 Dec 2008 10:24:58 +0000 (11:24 +0100)]
pam: Add default pamd.d/{chfn,chsh,cron,login} files.

15 years agopam: Remove all but one line from pam.d/su.
Matthijs Kooijman [Mon, 29 Dec 2008 19:03:51 +0000 (20:03 +0100)]
pam: Remove all but one line from pam.d/su.

The session modules seem useless, and the common files only include ldap
and don't know about root, so that only gives warnings when root is
trying to su.

This makes it impossible for non-root users to use su, but that's a
feature.

15 years agopam: Add default pam.d/su file.
Matthijs Kooijman [Mon, 29 Dec 2008 19:03:15 +0000 (20:03 +0100)]
pam: Add default pam.d/su file.

15 years agosystem: Improve the permissions addsite sets.
Matthijs Kooijman [Wed, 17 Dec 2008 19:10:56 +0000 (20:10 +0100)]
system: Improve the permissions addsite sets.

15 years agolighttpd: Add initial configuration files.
Matthijs Kooijman [Wed, 17 Dec 2008 19:03:26 +0000 (20:03 +0100)]
lighttpd: Add initial configuration files.

15 years agosystem: Add acl-aware perl wrapper.
Matthijs Kooijman [Wed, 17 Dec 2008 18:59:44 +0000 (19:59 +0100)]
system: Add acl-aware perl wrapper.

By default, permission checks in perl only use the normal mode bits,
instead of the access(2) function. Adding "use filetest 'access';" to
the program, or the equivalent "-mfiletest=access" to the commandline,
we get proper behaviour when ACLs are involved.

15 years agoaddsite: Give www-data read access to conf/ dirs.
Matthijs Kooijman [Wed, 17 Dec 2008 18:58:27 +0000 (19:58 +0100)]
addsite: Give www-data read access to conf/ dirs.

16 years agogitweb: Make gitweb publish http and ssh urls for every repos.
root [Tue, 25 Nov 2008 00:12:10 +0000 (01:12 +0100)]
gitweb: Make gitweb publish http and ssh urls for every repos.

16 years agogitweb: Point gitweb at /data/vcs/git.
root [Tue, 25 Nov 2008 00:11:55 +0000 (01:11 +0100)]
gitweb: Point gitweb at /data/vcs/git.

16 years agohgweb: Point hgwebdir.cgi at /etc/hgweb.conf.
root [Mon, 24 Nov 2008 23:26:25 +0000 (00:26 +0100)]
hgweb: Point hgwebdir.cgi at /etc/hgweb.conf.

/etc/hgweb.conf points hgweb at /data/vcs/hg.

16 years agoAdd example hgwebdir.cgi script.
root [Mon, 24 Nov 2008 23:21:16 +0000 (00:21 +0100)]
Add example hgwebdir.cgi script.

16 years agogitweb: Add default config file.
root [Mon, 24 Nov 2008 21:51:18 +0000 (22:51 +0100)]
gitweb: Add default config file.

16 years agofastcgi: Add init script for fastcgi processes.
root [Fri, 7 Nov 2008 21:56:56 +0000 (22:56 +0100)]
fastcgi: Add init script for fastcgi processes.

This script will for now ignore its command line arguments and always
restart all scripts. This should be improved in the future.

16 years agosystem: Let update-php.ini also include a php.ini.local
root [Fri, 7 Nov 2008 11:41:14 +0000 (12:41 +0100)]
system: Let update-php.ini also include a php.ini.local

16 years agosystem: Let addsite always make DIR absolute.
root [Fri, 7 Nov 2008 11:40:45 +0000 (12:40 +0100)]
system: Let addsite always make DIR absolute.

16 years agosystem: Fix permission setting in addsite.
root [Fri, 7 Nov 2008 11:28:02 +0000 (12:28 +0100)]
system: Fix permission setting in addsite.

16 years agosystem: Add update-php.ini script.
root [Thu, 6 Nov 2008 13:55:44 +0000 (14:55 +0100)]
system: Add update-php.ini script.

This script merges system php.ini with a per-site php.ini.override, to
compensate for the lack of a proper include statement in php's config
files.

16 years agosystem: Add script to fix users and permissions for a site.
root [Thu, 6 Nov 2008 13:50:44 +0000 (14:50 +0100)]
system: Add script to fix users and permissions for a site.

16 years agosystem: Set the timezone to Europe/Amsterdam.
Matthijs Kooijman [Thu, 9 Oct 2008 20:20:13 +0000 (22:20 +0200)]
system: Set the timezone to Europe/Amsterdam.

16 years agoapt: Move local repository from ~matthijs to /data.
Matthijs Kooijman [Thu, 9 Oct 2008 15:46:18 +0000 (15:46 +0000)]
apt: Move local repository from ~matthijs to /data.

16 years agobash: Include bash.bashrc from /etc/profile.
Matthijs Kooijman [Thu, 9 Oct 2008 13:15:34 +0000 (13:15 +0000)]
bash: Include bash.bashrc from /etc/profile.

16 years agosystem: Add resolv.conf, pointing to the DNS vserver.
Matthijs Kooijman [Thu, 9 Oct 2008 13:14:52 +0000 (13:14 +0000)]
system: Add resolv.conf, pointing to the DNS vserver.

16 years agobash: Add default global profile script.
root [Tue, 30 Sep 2008 14:49:56 +0000 (14:49 +0000)]
bash: Add default global profile script.

16 years agobash: Enable extended completion.
root [Tue, 30 Sep 2008 14:33:29 +0000 (14:33 +0000)]
bash: Enable extended completion.

16 years agobash: Add initial bashrc.
root [Tue, 30 Sep 2008 14:32:51 +0000 (14:32 +0000)]
bash: Add initial bashrc.

16 years agonss: Don't use mdns for name resolution.
root [Fri, 26 Sep 2008 10:16:05 +0000 (10:16 +0000)]
nss: Don't use mdns for name resolution.

This change was automatically made by removing avahi-daemon.

16 years agonullmailer: Add configuration.
root [Fri, 26 Sep 2008 10:15:05 +0000 (10:15 +0000)]
nullmailer: Add configuration.

16 years agopam: Enable LDAP host attribute checking.
root [Thu, 25 Sep 2008 15:36:02 +0000 (15:36 +0000)]
pam: Enable LDAP host attribute checking.

16 years agopam: Only use LDAP for auth and account, remove unix authentication.
root [Thu, 25 Sep 2008 15:30:51 +0000 (15:30 +0000)]
pam: Only use LDAP for auth and account, remove unix authentication.

16 years agopam: Simplify configuration.
root [Thu, 25 Sep 2008 12:19:43 +0000 (12:19 +0000)]
pam: Simplify configuration.

16 years agopam: Use LDAP for authentication.
root [Thu, 25 Sep 2008 10:24:14 +0000 (10:24 +0000)]
pam: Use LDAP for authentication.

16 years agonss: Use LDAP for passwd and group.
root [Thu, 25 Sep 2008 10:23:45 +0000 (10:23 +0000)]
nss: Use LDAP for passwd and group.

16 years agopam: Add default pam common- files.
root [Thu, 25 Sep 2008 07:48:37 +0000 (07:48 +0000)]
pam: Add default pam common- files.

16 years agoAdd local debian repository.
root [Thu, 21 Aug 2008 16:04:27 +0000 (16:04 +0000)]
Add local debian repository.

16 years agoImport initial sources.list.
root [Thu, 21 Aug 2008 15:45:24 +0000 (15:45 +0000)]
Import initial sources.list.