SchoolOnffLine: ejabberd - menambahkan / mengurangi user
Jump to navigation
Jump to search
Tambahkan User Demo
Restart ejabberd
/etc/init.d/ejabberd restart
Add user dari shell
ejabberdctl register admin1 sekolah.sch.id 123456 ejabberdctl register siswa1 sekolah.sch.id 123456 ejabberdctl register siswa2 sekolah.sch.id 123456 ejabberdctl register siswa3 sekolah.sch.id 123456 ejabberdctl register siswa4 sekolah.sch.id 123456 ejabberdctl register siswa5 sekolah.sch.id 123456 ejabberdctl register guru1 sekolah.sch.id 123456 ejabberdctl register guru2 sekolah.sch.id 123456 ejabberdctl register guru3 sekolah.sch.id 123456 ejabberdctl register guru4 sekolah.sch.id 123456 ejabberdctl register guru5 sekolah.sch.id 123456
lakukan beberapa kali sampai pasti terinstall
Konfigurasi Administrator
vi /etc/ejabberd/ejabberd.cfg
Set Previlige Admin
{acl, admin, {user, "admin1", "sekolah.sch.id"}}. {acl, admin, {user, "guru1", "sekolah.sch.id"}}. {acl, admin, {user, "guru2", "sekolah.sch.id"}}. {acl, admin, {user, "guru3", "sekolah.sch.id"}}. {acl, admin, {user, "guru4", "sekolah.sch.id"}}. {acl, admin, {user, "guru5", "sekolah.sch.id"}}.
Pastikan ..
{access, configure, [{allow, admin}]}. {access, announce, [{allow, admin}]}. {access, muc_admin, [{allow, admin}]}.
Add & Remove User
Add user
# ejabberdctl register admin1 example.org FgT5bk3 # ejabberdctl register namauser namaserver password
Remove User
# ejabberdctl unregister namauser namaserver
Pranala Menarik
- SchoolOnffLine: Instalasi ejabberd Chatting Server
- Distro SchoolOnffLine
- SchoolOnffLine: Server Berbasis Sabily 9.04
- SchoolOnffLine: Server Berbasis Ubuntu 9.04
- SchoolOnffLine: Server Berbasis Ubuntu
- SchoolOnffLine: Server Berbasis Ubuntu 9.04 Alternate
- SchoolOnffLine: Server Berbasis Ubuntu 9.04 Server
- SchoolOnffLine: Server Wikipedia for School
- Remastering Ubuntu