Ripserve is a company that owes a lot to free software - so we've released some of our sysadmin code back to the community. Why? So we can get feedback on our procedures, so new and prospective staff can see how things work, and to encourage us to keep our own code clean and tidy. These scripts are all in production use. Most of them are written on Linux or OSX or Irix, but should run pretty much anywhere if you know what you're doing. If you're administering unix systems, you do know what you're doing, right?
|NEW DOMAIN 1.1
A shell script which adds records to named.conf and creates a bind primary zone file. Paths and DNS info will need editing.
|NEW ACCOUNT 1.2
A script to create new user accounts, with optional settings for squirrelmail, postfix virtual hosts etc. It also sends a "welcome" email to the new user.
A simple shell script designed to run as a cron job which emails system information, including uptime, disk space, optional analog reports, processes, logins etc.
A backup script we run as a daily cron job. We use it to back up, gzip and rotate archives for the last week. (As with all backups, make sure you can restore from them.)
A shell script which sends an email to everyone on a text list. We're happier doing this from the command line rather than using a web interface.
A basic shell script which adds spamming hosts to a postfix blacklist. Has optional support for RCS.
A shell script which automates the checkin/checkout/edit process when using RCS. This is similar to SGI's covici, but can deal with multiple files, and is released under a free liscense. You don't have to use vi.
A script to revert an RCS-managed file a single step back, then check it back into the top of the version-control tree.
|ALL SINGING 1.01
A perl cgi script for editing html fragments using a web interface. The user gets to preview their changes and edit <bold> tags etc.
A short shell script for checking network hosts are up, using ping, usually run via cron.
These scripts may need tweaking. Most of the user-defined variables, paths, email address etc are in the first few lines.
The above software released under the GNU General Public License. NO warranties implied. Use at your own risk. If anyone has any suggestions/comments/imporvements, please send them to email@example.com . Enjoy.
$Date: 2007/10/24 12:09:13 $ $Revision: 1.14