From 68a1b014aea963c2c94316fa34ec9a5dd135d102 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 23 Oct 2001 18:57:45 +0000 Subject: [PATCH] document how to set MySQL with BDB default tables --- httemplate/docs/config.html | 10 ++++++---- httemplate/docs/install.html | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/httemplate/docs/config.html b/httemplate/docs/config.html index 3c6fe0252..75d3070d1 100644 --- a/httemplate/docs/config.html +++ b/httemplate/docs/config.html @@ -71,7 +71,8 @@ All further configuration files and directories are located in
  • mxmachines - MX entries for new domains, weight and machine, one per line, with trailing `.'
  • nsmachines - NS nameservers for new domains, one per line, with trailing `.'
  • nismachines - Your NIS master (not slave master) machines, one per line. This enables export of `/etc/global/passwd' and `/etc/global/shadow'. -
  • passwordmin - Minimum password length (default 6); +
  • passwordmin - Minimum password length (default 6) +
  • passwordmax - Maximum password length (default 8) (don't set this over 12 if you need to import or export crypt() passwords)
  • qmailmachines - Your qmail machines, one per line. This enables export of `/var/qmail/control/virtualdomains', `/var/qmail/control/recipientmap', and `/var/qmail/control/rcpthosts'. The existance of this file (even if empty) also turns on user `.qmail-extension' file maintenance in conjunction with `shellmachine'.
  • radiusmachines - Your RADIUS authentication machines, one per line. This enables export of `/etc/raddb/users'.
  • referraldefault - Default referral, specified by refnum. @@ -92,9 +93,9 @@ All further configuration files and directories are located in
  • session-start - If defined, the command which is executed on the Freeside machine when a session begins. The contents of the file are treated as a double-quoted perl string, with the following variables available: $ip, $nasip and $nasfqdn, which are the IP address of the starting session, and the IP address and fully-qualified domain name of the NAS this session is on.
  • session-stop - If defined, the command which is executed on the Freeside machine when a session ends. The contents of the file are treated as a double-quoted perl string, with the following variables available: $ip, $nasip and $nasfqdn, which are the IP address of the starting session, and the IP address and fully-qualified domain name of the NAS this session is on.
  • shellmachine - A single machine with user home directories mounted. This enables home directory creation, renaming and archiving/deletion. In conjunction with `qmailmachines', it also enables `.qmail-extension' file maintenance. -
  • shellmachine-useradd - The command(s) to run on shellmachine when an account is created. If this file does not exist, useradd -d $dir -m -s $shell -u $uid $username is the default. If the file exists but is empty, cp -pr /etc/skel $dir; chown -R $uid.$gid $dir is the default instead. Otherwise the contents of the file are treated as a double-quoted perl string, with the following variables available: $username, $uid, $gid, $dir, and $shell. -
  • shellmachine-userdel - The command(s) to run on shellmachine when an account is deleted. If this file does not exist, userdel $username is the default. If the file exists but is empty, rm -rf $dir is the default instead. Otherwise the contents of the file are treated as a double-quoted perl string, with the following variables available: $username and $dir. -
  • shellmachine-usermod - The command(s) to run on shellmachine when an account is modified. If this file does not exist or is empty, [ -d $old_dir ] && mv $old_dir $new_dir || ( chmod u+t $old_dir; mkdir $new_dir; cd $old_dir; find . -depth -print | cpio -pdm $new_dir; chmod u-t $new_dir; chown -R $uid.$gid $new_dir; rm -rf $old_dir ) is the default. Otherwise the contents of the file are treated as a double-quoted perl string, with the following variables available: $old_dir, $new_dir, $uid and $gid. +
  • shellmachine-useradd - The command(s) to run on shellmachine when an account is created. If this file does not exist, useradd -d $dir -m -s $shell -u $uid $username is the default. If the file exists but is empty, cp -pr /etc/skel $dir; chown -R $uid.$gid $dir is the default instead. Otherwise the contents of the file are treated as a double-quoted perl string, with the following variables available: $username, $uid, $gid, $dir, and $shell. +
  • shellmachine-userdel - The command(s) to run on shellmachine when an account is deleted. If this file does not exist, userdel $username is the default. If the file exists but is empty, rm -rf $dir is the default instead. Otherwise the contents of the file are treated as a double-quoted perl string, with the following variables available: $username and $dir. +
  • shellmachine-usermod - The command(s) to run on shellmachine when an account is modified. If this file does not exist or is empty, [ -d $old_dir ] && mv $old_dir $new_dir || ( chmod u+t $old_dir; mkdir $new_dir; cd $old_dir; find . -depth -print | cpio -pdm $new_dir; chmod u-t $new_dir; chown -R $uid.$gid $new_dir; rm -rf $old_dir ) is the default. Otherwise the contents of the file are treated as a double-quoted perl string, with the following variables available: $old_dir, $new_dir, $uid and $gid.
  • shellmachines - Your Linux and System V flavored shell (and mail) machines, one per line. This enables export of `/etc/passwd' and `/etc/shadow' files.
  • shells - Legal shells (think /etc/shells). You probably want to `cut -d: -f7 /etc/passwd | sort | uniq' initially so that importing doesn't fail with `Illegal shell' errors, then remove any special entries afterwords. A blank line specifies that an empty shell is permitted.
  • showpasswords - The existance of this file will allow unencrypted user passwords to be displayed. @@ -111,6 +112,7 @@ All further configuration files and directories are located in
  • unsuspendauto _ The existance of this file will enable the automatic unsuspension of suspended packages when a customer's balance due changes from positive to zero or negative as the result of a payment or credit.
  • usernamemin - Minimum username length (default 2);
  • usernamemax - Maximum username length (default is the size of the SQL column, probably specified when fs-setup was run) +
  • username-ampersand - The existance of this file will allow the ampersand character (&) in usernames. Be careful when using this option in conjunction with shellmachine-useradd and other configuration options which execute shell commands, as the ampersand will be interpreted by the shell if not quoted.
  • username-letter - The existance of this file will turn on the requirement that usernames contain at least one letter.
  • username-letterfirst - The existance of this file will turn on the requirement that usernames start with a letter.
  • username-noperiod - The existance of this file will disallow periods in usernames. diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index 44644dc91..6861a173e 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -7,9 +7,9 @@ Before installing, you need: