Thx David. I got it running under a user :) I had missed the commandline
parameters section of the guide which Beckman pointed out and helped me do
it.

-- 
regards,

Anand

> Anand Gupta wrote:
>
>>>Step 4.  Check to see if user you are running kannel as can write to
>>>           kannel.log (did you run it as root the first time, and as
>>>           yourself later?)
>>>
>>>
>>
>>Right now kannel runs as root, thats another question i had. Is it safe
>> to
>>run as root ? which user should i run it as ? Any commandlines for doing
>>so ? Should it be run as root first and then switched to run as another
>>user ?
>>
>>
> No daemon that runs as a network server is guaranteed to be "safe" when
> running as root. In kannel's case, there is no need to run as root as it
> does not require (in a standard configuration) socket access to
> priviledged ports; just make sure group memberships or file permissions
> are fixed for device nodes in /dev that bearerbox might need access to
> (e.g. serial ports for GSM modems etc).
>
> Create a new user (and group) with a no-shell login, change ownership of
> any directories and files according to need, then start the daemon via
> an init/rc script with su or sudo, whatever your OS supports, no doubt
> there are plenty of working examples on your system already. It is very
> simple and straight-forward with no hidden gotchas.
>
>


Reply via email to