Create an ibay manually

From SME Server
Revision as of 02:07, 9 March 2017 by RequestedDeletion (talk | contribs) (Page init)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

If you would like to create an ibay by means of a bash script:


#!/bin/bash
#Configure the new ibay "test"

next_id=$(config get MinUid)
let "new_next_id = next_id + 1"
config set MinUid $new_next_id

#Populate the accounts db
db accounts set test ibay Name test \
Group admin UserAccess wr-group-rd-everyone \
Uid $next_id Gid $next_id CgiBin enabled PasswordSet no \
SSL enabled PublicAccess global \

#Create the "test" ibay
signal-event ibay-create test

exit