Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Create an ibay manually
(view source)
Revision as of 14:13, 9 March 2017
2 bytes removed
,
14:13, 9 March 2017
m
add uid
Line 3:
Line 3:
#!/bin/bash
#!/bin/bash
−
#
Configure the new ibay "test"
+
#
Get correct Uid
−
+
uid=`perl -Mesmith::AccountsDB -e 'my
$accountdb
=
esmith::AccountsDB->open(); print
$
accountdb->get_next_uid
()
;'`
−
next_id
=$(
config get MinUid
)
−
let "new_next_id = next_id + 1"
−
config set MinUid $new_next_id
#Populate the accounts db
#Populate the accounts db
db accounts set test ibay Name test \
db accounts set test ibay Name test \
Group admin UserAccess wr-group-rd-everyone \
Group admin UserAccess wr-group-rd-everyone \
−
Uid $
next_id
Gid $
next_id
CgiBin enabled PasswordSet no \
+
Uid $
uid
Gid $
uid
CgiBin enabled PasswordSet no \
SSL enabled PublicAccess global \
SSL enabled PublicAccess global \
RequestedDeletion
3,704
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version