NAME

lat-tools - The lazy administrator's toolkit


DESCRIPTION

The Lazy Administrator's Toolkit is a set of scripts designed to automate batch tasks and admin jobs for E-Smith/SME servers (versions 5.x and 6.x).

Most of these tools mirror options in the server-manager. However, the lat-tools can be run from the command line or called from an other script. This allows you, for example, to automate repetitive admin tasks like creating large numbers of user accounts, or perform these tasks on a remote machine via a slow internet connection and an ssh console.

Currently the toolkit contains the following scripts:


lat-users

Creates or deletes user accounts on Mitel's SME servers (5.x/6.x). This tool is functionally equivalent to the 'User accounts' option in the server-manager, but can be run from the command line or called from an other script. It allows you, for example, to create a large number of accounts in a batch process, or delete accounts on a remote machine via an ssh console.

See /usr/doc/lazy-admin-tools/example.users for the format of the input file.


lat-groups

Creates or deletes groups on Mitel's SME servers (5.x/6.x). This tool is functionally equivalent to the 'groups' option in the server-manager, but can be run from the command line or called from an other script. It allows you, for example, to add a large number of accounts to a group, or delete groups on a remote machine via an ssh console.

See /usr/doc/lazy-admin-tools/example.groups for the format of the input file.


lat-ibays

Creates or deletes ibays on Mitel's SME servers (5.x/6.x). This tool is functionally equivalent to the 'Information bays' option in the server-manager, but can be run from the command line or called from an other script. It allows you, for example, to create an i-bay as part of an installation script, or delete i-bays on a remote machine via an ssh console.

See /usr/doc/lazy-admin-tools/example.ibays for the format of the input file.


lat-pseudonyms

Adds or deletes e-mail pseudonyms to existing user or group accounts on Mitel's SME servers (5.x/6.x). This tool is functionally equivalent to the 'Pseudonyms' option in the server-manager, but can be run from the command line or called from an other script. It allows you, for example, to create a large number of e-mail aliases in a batch process, or delete the standard pseudonyms on a remote machine via an ssh console.

See /usr/doc/lazy-admin-tools/example.pseudonyms for the format of the input file.


lat-hosts

Creates or deletes hosnames on Mitel's SME servers. This tool is functionally equivalent to the 'Hostnames and addresses' option in the server-manager, but can be run from the command line or called from an other script. It allows you, for example, to create a large number of hostnames in a batch process, or delete hostnames on a remote machine via an ssh console.

See /usr/doc/lazy-admin-tools/example.hosts for the format of the input file.


lat-quota

Sets the disk quota for individual users on Mitel's SME servers (5.x/6.x). This tool is functionally equivalent to the 'Quota management' option in the server-manager, but can be run from the command line or called from an other script. It allows you, for example, to set the disk quota for a large number of accounts in a batch process or on a remote machine via an ssh console.

See /usr/doc/lazy-admin-tools/example.quota for the format of the input file.


lat-domains

Creates or deletes domainnames on Mitel's SME servers. This tool is functionally equivalent to the 'virtual domains' option in the server-manager, but can be run from the command line or called from an other script. It allows you, for example, to create a large number of domain names in a batch process, or delete domain names on a remote machine via an ssh console.

See /usr/doc/lazy-admin-tools/example.domains for the format of the input file.


lat-procmail

Activates or deactivates procmail for individual users on Mitel's SME servers. This tool is primarily intended to activate SpamAssassin system-wide, but can also be used for other purposes.

It requires the user-panel from http://dungog.net.

See /usr/doc/lazy-admin-tools/example.procmail for the format of the input file.


lat-pptp

PPTP access is by default deactivated on Mitel's SME servers (5.x/6.x). Once activated in the server-manager pannel, you still need to grant or deny VPN access to individual users. With lat-pptp you can enable or disable VPN access on a per-user basis.

In SME 5.6 there is no functional equivalent for lat-pptp in the server-manager. In SME 6.0 you can find this setting under Collaboration/Users.

See /usr/doc/lazy-admin-tools/example.pptp for the format of the input file.


lat-dump

Creates input-files for the lat-toolkit, based on the current configuration of the SME server (5.x/6.x). The information is extracted from the /home/e-smith/* databases.

The resulting input-files can be used to replicate user accounts, ibays, etc on a different SME server, or recreate them on a clean install. To facilitate the restoring/replicating, the lat-restore script is automatically created. This will launch the various lat-tools in the right sequence.


lat-restore

Launches all lat-tools in the correct sequence using the config files created by lat-dump. This allows you recreate all user accounts, groups, ibays etc with the same uid/gid on an other server or to restore a corrupted server.

lat-restore is automatically created by lat-dump and can be edited to meet your needs


SEE ALSO

lat-users(8), lat-group(8), lat-pseudonyms(8), lat-ibays(8), lat-quota(8), lat-domains(8), lat-hosts(8), lat-procmail(8), lat-pptp(8), lat-dump(8)


VERSION

Version 0.8.3 (2004-02-12). The latest version is hosted at http://www.contribs.org/contribs/mblotwijk/


COPYRIGHT

(c)2003, Altiplano bvba (http://www.altiplano.be). Released under the terms of the GNU license.


BUGS

Please report bugs to <Bugs@Altiplano.Be>