what 'user' are acpi scripts run as? Forcing DCOP to look at current user?
Matthew Miller
mattdm at mattdm.org
Sun May 1 04:58:07 UTC 2005
On Sat, Apr 30, 2005 at 11:54:23PM -0500, Birt, Jeffrey wrote:
> I am assuming that the acpi scripts are run as 'system' (or what ever the
> Linux equivelent is) and therefore any DCOP related calls are looking at
> the 'systems' DCOP server not the current user.
I believe they're executed as root.
> So, can I force a script to run as another user? that is have the acpi
> script which is being run as 'system' call another script as the current
> user?
Yes -- use 'su -c' to do this.
--
Matthew Miller mattdm at mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 76 degrees Fahrenheit.
More information about the fedora-list
mailing list