From 21ec8a6b7223054c6137fdbffa0e059c5c6c9473 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 8 Dec 2000 22:22:31 +0000 Subject: session callbacks --- htdocs/docs/config.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'htdocs/docs/config.html') diff --git a/htdocs/docs/config.html b/htdocs/docs/config.html index db218d642..fb744bff7 100644 --- a/htdocs/docs/config.html +++ b/htdocs/docs/config.html @@ -66,6 +66,8 @@ All further configuration files and directories are located in
  • sendmailconfigpath - Sendmail configuration file path - defaults to `/etc'. Many newer distributions use `/etc/mail'.
  • sendmailmachines - Your sendmail machines, one per line. This enables export of `/etc/virtusertable' and `/etc/sendmail.cw'.
  • sendmailrestart - If defined, the command which is run on sendmail machines after files are copied. +
  • 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. -- cgit v1.2.1