[ejabberd] Cannot run ejabberdctl as root on 17.07

Badlop badlop at gmail.com
Wed Jul 26 14:30:42 MSK 2017


Maybe that is fixed in this recent commit:
https://github.com/processone/ejabberd/commit/72dbb6e7c1620539884665e5f7b00e42408e1538

---
Badlop
ProcessOne


On 16 July 2017 at 23:19, Marvin Gülker <m-guelker at phoenixmail.de> wrote:
> Hi,
>
> today I updated ejabberd from 17.04 straight to 17.07 (which by the way
> was not announced on this mailinglist, only on the blog[1]) and now I'm
> unable to run the `ejabberdctl' command as root.
>
> I compiled ejabberd with the option `--enable-user=ejabberd', so I tried
> to run the command as user `ejabberd', and that works. I'm puzzled by
> that. Is this a bug?
>
> Sample invocation:
>
>     # ejabberdctl status
>     ERROR: This command can only be run by root or the user ejabberd
>     # whoami
>     root
>
> I *am* root. The very same command succeeds if run as user ejabberd:
>
>     $ ejabberdctl status
>     The node ejabberd at localhost is started with status: started
>     ejabberd 17.07 is running in that node
>     $ whoami
>     ejabberd
>
> Any hints are appreciated.
>
> Marvin
>
> [1]: https://blog.process-one.net/ejabberd-17-07/
>
> --
> Blog: https://www.guelkerdev.de
> PGP/GPG ID: F1D8799FBCC8BC4F
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd


More information about the ejabberd mailing list