NAME

lat-ibays - The lazy administrator's tool to create ibays


DESCRIPTION

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.


SYNOPSIS

lat-ibays -a -c ``ibay | descr | group | useraccess | publicaccess | password | cgi-bin | uid''

lat-ibays -a -i /path/to/ibays.list

lat-ibays -d [-f] -c ``Ibay''

lat-ibays -d [-f] -i /path/to/ibays.list


OPTIONS

The following options are supported:

-a, --add
Add an ibay to the server

-c 'Arguments', --command-line='Arguments'
Take arguments from the command line. See below for the various arguments that are accepted.

-d, --delete
Delete an ibay from the server. Wildcards (* and ?) are accepted.

-f, --force
Don't prompt before deleting.

-h, --help
Extended help for this tool

-i FILE, --input-file=FILE
Use the information from FILE to create or delete ibays.

Arguments:

   Ibay*      : Must contain only lower-case letters, numbers, hyphens,
                periods and underscores, and should start with a lower-
                case letter. Wildcards (* and ?) can only be used to
                delete ibays!
   Descr.     : Free text description of the ibay.
   Group*     : Must be an existing group on the server.
   UserAccess : wr-admin-rd-group (default)
                wr-group-rd-everyone
                wr-group-rd-group
   PublicAcc. : local (default)
                local-pw
                global
                global-pw
                global-pw-remote
                none
   Passd      : Password for the ibay in clear-text (dangerous!).
   CGI        : enabled
                disabled (default)
   uid        : User ID. If omitted, the first available uid will used.
   * mandatory field


EXAMPLES

lat-ibays -a -c ``library | Hogwarts' library | griffindor''

Creates the i-bay 'library' for user group 'griffindor'.

lat-ibays -a -i ``/root/ibays.list''

Creates the i-bays defined in /root/ibays.list. Please refer to /usr/doc/lazy-admin-tools/example.users for an example of an input file.

lat-ibays -d -f -c ``class*''

Deletes all ibays that start with 'class'. All ibays and their files are deleted without prompting (-f).

lat-ibays -a -c ``library | Hogwarts' library | griffindor | wr-group-rd-group | local-pw | quidditch | enabled | 8003''

Creates the i-bay 'library' for user group 'griffindor'. Password is 'quiddich', cgi is enabled and the group ID is set to 8003.


SEE ALSO

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


VERSION

Version 0.9.0 (2004-09-08). The latest version is hosted at http://www.contribs.org/contribs/mblotwijk/


COPYRIGHT

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


BUGS

Please report bugs to <Bugs@Altiplano.Be>