ejabberd | MUC problems // 17.04

Problem: You add a room with ejabberdctl. # ejabberdctl create_room testroom conference.xmpp.inbbradio.de localhost You list all rooms with ejabberdctl. # ejabberdctl muc_online_rooms global You delete a room. # ejabberdctl destroy_room testroom conference.xmpp.inbbradio.de You list all rooms with ejabberdctl. # ejabberdctl muc_online_rooms global You restart ejabberd # ejabberdctl restart You list all rooms with ejabberdctl. # […]

BASH | URLENCODE

For each character in string do # IN=”\\”;printf -v OUT ‘%%%02x’ “‘$IN”; echo $OUT or # echo “this & that” | perl -MURI::Escape -ne ‘chomp;print uri_escape($_),”\n”‘

RADIUS server // local authentication and authorization via unix + pam

Yeah, its sucks. Use this option in only secured networks! Check /etc/pam.d for radiusd file. /etc/raddb/clients.conf client 192.168.100.60 { ipv4addr = 192.168.100.60 secret = mysecret shortname = myshortname } /etc/raddb/radius.conf You wanna read /etc/shadow? Become root. —> Yeah, its sucks. Use this option in only secured networks! user = root group = root /etc/raddb/sites-enabled/default Section […]