Difference between revisions of "Lat-ibays"

From SME Server
Jump to navigationJump to search
(Created page with "===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 functio...")
 
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
===DESCRIPTION===
 
===DESCRIPTION===
       Creates or deletes ibays on Mitel's SME servers (5.x/6.x).  This tool
+
       Creates or deletes ibays on Mitel's SME servers (5.x/6.x/7.x/8.x).  This tool
 
       is functionally equivalent to the 'Information bays' option in the
 
       is functionally equivalent to the 'Information bays' option in the
 
       server-manager, but can be run from the command line or called from an
 
       server-manager, but can be run from the command line or called from an
Line 12: Line 12:
 
       See /usr/doc/lazy-admin-tools/example.ibays for the format of the input
 
       See /usr/doc/lazy-admin-tools/example.ibays for the format of the input
 
       file.
 
       file.
 +
 
===Smecontribs repository for SME Server===
 
===Smecontribs repository for SME Server===
  
  yum install --enablerepo=smecontribs smeserver-lazy_admin_tools
+
  yum install --enablerepo=smecontribs smeserver-lazy_admin_tools smeserver-userpanel smeserver-mailsorting
 
  signal-event post-upgrade; signal-event reboot
 
  signal-event post-upgrade; signal-event reboot
  
Line 89: Line 90:
 
       Creates the i-bay 'library' for user group 'griffindor'. Password is
 
       Creates the i-bay 'library' for user group 'griffindor'. Password is
 
       'quiddich', cgi is enabled and the group ID is set to 8003.
 
       'quiddich', cgi is enabled and the group ID is set to 8003.
 +
=== Bugs ===
 +
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 +
and select the e-smith-lazy_admin_tools component or use {{BugzillaFileBug|product=SME%20Contribs|component=e-smith-lazy_admin_tools|title=this link}}.
 +
 +
[[Category:Howto]] [[Category:Administration]]

Latest revision as of 22:36, 26 June 2013

lat-ibays

The lazy administrator's tool to create ibays

DESCRIPTION

      Creates or deletes ibays on Mitel's SME servers (5.x/6.x/7.x/8.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.

Smecontribs repository for SME Server

yum install --enablerepo=smecontribs smeserver-lazy_admin_tools smeserver-userpanel smeserver-mailsorting
signal-event post-upgrade; signal-event reboot

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.

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the e-smith-lazy_admin_tools component or use this link .