Re: what 'user' are acpi scripts run as? Forcing DCOP to look at current user?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 76 degrees Fahrenheit.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux