su -c /home/Louise/bin/testScript - Louise

testScript contains:
purple-remote getstatus

output: No existing libpurple instance detected.
----- Original Message -----
From: Tres Finocchiaro
Sent: 03/14/14 11:46 AM
To: Louise Baldwin
Subject: Re: purple-remote vs sudo

This is perhaps more of a Linux answer than a Pidgin one, but have you tried su 
to another user?sudo su Louise

http://en.wikipedia.org/wiki/Su_(Unix) 

-Tres 

-  tres.finocchi...@gmail.com 
On Fri, Mar 14, 2014 at 10:29 AM, Louise Baldwin < louiserbald...@mail.com > 
wrote:How can I get purple-remote to work through sudo? The scenario is that I 
have a root cron job which automates several sequential tasks, some of which 
must be run as the "Louise" user. The other scripts/commands work fine using 
sudo, but purple-remote getstatus returns "No existing libpurple instance 
detected" despite that there is in fact an instance of Pidgin running for user 
"Louise" -- what is causing this discrepancy?
_______________________________________________
 Support@pidgin.im  mailing list
Want to unsubscribe? Use this link:
https://pidgin.im/cgi-bin/mailman/listinfo/support
_______________________________________________
Support@pidgin.im mailing list
Want to unsubscribe?  Use this link:
https://pidgin.im/cgi-bin/mailman/listinfo/support

Reply via email to