X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fdocs%2Fconfig.html;h=656723781fa114a6b903a28f130d946be19623ce;hp=75d3070d1068de575dc8609776b0dc202152763e;hb=e6b57805f6b3e76448ab9b6d280f2c53bc1410f3;hpb=40927c9cd9472719a3720270256f4300b81ebc98 diff --git a/httemplate/docs/config.html b/httemplate/docs/config.html index 75d3070d1..656723781 100644 --- a/httemplate/docs/config.html +++ b/httemplate/docs/config.html @@ -26,100 +26,10 @@ DBI:Pg:host=localhost;dbname=freeside dbusername dbpassword - -All further configuration files and directories are located in -/usr/local/etc/freeside/conf.datasource, for example, -/usr/local/etc/freeside/conf.DBI:Pg:host=localhost;dbname=freeside (remember to backslash-escape the ; character when creating directories in the shell: mkdir /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=freeside). Files listed in red are requried. -
radius.isp.tld radius_db radius_user passw0rd
". Note that to use ICRADIUS export you need to be using MySQL.
- $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.
- $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.
- 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
.
- 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
.
- [ -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
.
- poptoaster.domain.tld /home/vpopmail 508 508
Note: vpopuid and vpopgid are values taken from the vpopmail machine's /etc/passwd
-
+mkdir /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=freeside ++