On Tuesday 23 November 2010, Komáromi Péter wrote:
I'm on the way to install kamailio on my ubuntu pc. It's almost complete, but if I prompt the /etc/init.d/kamailio start command, I receive a chown: invalid user: `kamailio:kamailio' message. I searched a lot after and tried to modify to other user, but can not find the right place to change this username.
Shouldn't I replace a valid user in the /etc/init.d/kamailio file in the places of asterisks? MEMORY=$((`echo $MEMORY | sed -e 's/[^0-9]//g'`)) [ -z "$USER" ] && USER=******** [ -z "$GROUP" ] && GROUP=******* [ $MEMORY -le 0 ] && MEMORY=32
Or where should I modify? Maybe should I create somewhere this user?
Hi Komáromi,
running this cmd as root:
adduser --quiet --system --group --disabled-password \ --shell /bin/false --gecos "Kamailio SIP Server" \ --home /var/run/kamailio kamailio
(adapt the directories to your installation) should do the trick.
Viele Grüße,
Henning