X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fdocs%2Fexport.html;h=7f3a07118aa58b1cf0a5cabbe2ec87f64a53697e;hp=d92eec3462a8371053c251574584ea7975a7abde;hb=0fd508f695b4f19a447eba7663f59dc7fb4033d3;hpb=8a8c9386cbd3383b0134aae8e32b5995f8886fb2
diff --git a/httemplate/docs/export.html b/httemplate/docs/export.html
index d92eec346..7f3a07118 100755
--- a/httemplate/docs/export.html
+++ b/httemplate/docs/export.html
@@ -14,7 +14,7 @@ it is reccommended that you replicate the data to an external RADIUS machine rat
radiusmachines - users is copied to the /etc/raddb directory on the remote machine. If no errors occur, the command ( builddbm ) is executed on the remote machine.
icradiusmachines - Local radcheck and radreply tables will be created. If any machines are specified, the remote MySQL database will be locked and the radcheck table will be copied to the those machines. You may also need to set the icradius_mysqlsource and/or icradius_mysqldest configuration files. Currently you need to be running MySQL for your Freeside database to use this feature.
- site_perl/svc_acct.pm - If a shellmachine is defined, users can be created, modified and deleted remotely; see below.
+ svc_acct.pm - If a shellmachine is defined, users can be created, modified and deleted remotely; see below.
- Account creation - If the username, uid and dir fields are defined for a new user, the command(s) specified in the shellmachine-useradd configuration file are executed on shellmachine via ssh. 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
.
- Account deletion - The command(s) specified in the shellmachine-userdel configuration file are executed on shellmachine via ssh. 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
.
@@ -26,15 +26,22 @@ it is reccommended that you replicate the data to an external RADIUS machine rat
- shellmachine - The command [ -e homedir/.qmail-default ] || { touch homedir/.qmail-default; chown uid.gid homedir/.qmail-default; } will be run on this machine for users in the virtualdomains file.
- sendmailmachines - sendmail.cw and virtusertable are copied to the remote machine as /etc/sendmail.cw.new and /etc/virtusertable.new. If no errors occur, they are moved to /etc/sendmail.cw and /etc/virtusertable and the command specified in the sendmailrestart configuration file is executed. (The path can be changed from the default /etc with the sendmailconfigpath configuration file.)
- site_perl/svc_acct_sm.pm - If the qmailmachines configuration file exists and a shellmachine is defined, user .qmail- files can be updated.
+ svc_domain.pm - If the qmailmachines configuration file exists and a shellmachine is defined, user .qmail- files can be updated for catchall mailboxes.
+ svc_forward.pm - Not yet documented; see manpage.
+ svc_www.pm - Not yet documented; see manpage.
Unattended remote login - Freeside can login to remote machines unattended using SSH. This can pose a security risk if not configured correctly, and will allow an intruder who breaks into your freeside machine full access to your remote machines. Do not use this feature unless you understand what you are doing!
- - As the freeside user (on your freeside machine), generate an authentication key using ssh-keygen. Since this is for unattended operation, you need to use a blank passphrase.
-
- Append the newly-created identity.pub file to root's authorized_keys on the remote machine(s).
+
- As the freeside user (on your freeside machine), generate an authentication key using ssh-keygen. Since this is for unattended operation, use a blank passphrase.
+
- Append the newly-created
identity.pub
file to ~root/.ssh/authorized_keys
on the remote machine(s).
+ - Some new SSH v2 implementation accept v2 style keys only. Use the
-t
option to ssh-keygen, and append the created id_dsa.pub
or id_rsa.pub
to ~root/.ssh/authorized_keys2
on the remote machine(s).
+ - You may need to set
PermitRootLogin without-password
(meaning with keys only) in your sshd_config
file on the remote machine(s).