[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: what 'user' are acpi scripts run as? Forcing DCOP to look at current user?
- From: Matthew Miller <mattdm mattdm org>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: what 'user' are acpi scripts run as? Forcing DCOP to look at current user?
- Date: Sun, 1 May 2005 00:58:07 -0400
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 mattdm org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 76 degrees Fahrenheit.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]