Hi 

How can make centerim run under this specific user (nagios) non-root user ?

Even when I am logged in as nagios, when I start it runs as root.

Thanks

Date: Thu, 2 Sep 2010 10:45:56 +0200
From: mind...@gmail.com
To: centerim-users@centerim.org
Subject: Re: [CenterIM-users] Cant use centerim with command lines

Hello Ihab Samara , 

run this as nagios user , before u do it ensure that you are loged in as nagios 
 using whoami command , after run 
chown -R nagios:nagios ~/.centerim .




On Thu, Sep 2, 2010 at 10:32 AM, Boris Petersen <transa...@googlemail.com> 
wrote:

2010/9/2 Ihab Samara <iha...@hotmail.com>:

> Hi

>

> Output of the command:

>

> nagios

> /usr/local/nagios/.centerim/:

> total 20

> drwx------ 4 nagios nagios 4096 Sep  2 08:21 .

> drwxrwxr-x 9 nagios nagios 4096 Sep  2 07:22 ..

> drwx------ 2 root   root   4096 Sep  2 08:02 ysamara

> drwx------ 2 root   root   4096 Sep  2 07:28 yperelman

> ls: /usr/local/nagios/.centerim/samara: Permission denied

> ls: /usr/local/nagios/.centerim/perelman: Permission denied



The directory and all it files must be owned by the user which is

running the centerim process. sure it doesn't work if root owns some

files.



>

> ---------------------------------------------------------------------------

> I am trying to send to one of the two users above. Strangely  the home user

> of the nagios user is /usr/local/nagios/.

>

> Thanks

>

>

> ________________________________

> Date: Thu, 2 Sep 2010 10:09:22 +0200

> From: mind...@gmail.com

> To: centerim-users@centerim.org

> Subject: Re: [CenterIM-users] Cant use centerim with command lines

>

> Hello, please run this as your normal user

>

> whoami && ls -laR ~/.centerim

>

> and send me the output here , 10x.

>

> 2010/9/2 Ihab Samara <iha...@hotmail.com>

>

> HI all

>

> I keep getting the following error when I try to send a message from the

> command line:

>

> echo "hi" |center -s msg -p yahoo -t john

>

> This is the error I get "event sending error: error creating directory for

> the contact"

>

> When I run the command as root, it works fine, but cant get to work with any

> other user.

>

> Any help

>

> Thanks

>

> --

> Best Regards

>

> Mindru Veaceslav

> Brno, Czech Republic

> GSM: +420774338341

> mind...@gmail.com

> blog: http://efiopko.com/

>





--

jabber: transa...@0x7fffffff.net

pgp-public-key: 0x0B26D2D0

Fingerprint: DCF4 8D69 A1F1 2662 9732  7A61 036C CEA4 0B26 D2D0

website: http://transacid.de

blog: http://blog.transacid.de

twitter: @transacid

IRC: foobar.i7c.org:6667 #welcome (ssl port 6697)



--

_______________________________________________

Centerim-users mailing list

Centerim-users@centerim.org

http://centerim.org/mailman/listinfo/centerim-users

http://www.centerim.org/

-- 
Best Regards

Mindru Veaceslav
Brno, Czech Republic 
GSM: +420774338341

mind...@gmail.com
blog: http://efiopko.com/



-- 
_______________________________________________
Centerim-users mailing list
Centerim-users@centerim.org
http://centerim.org/mailman/listinfo/centerim-users
http://www.centerim.org/                                          
-- 
_______________________________________________
Centerim-users mailing list
Centerim-users@centerim.org
http://centerim.org/mailman/listinfo/centerim-users
http://www.centerim.org/

Reply via email to