Alex Malinovich <[EMAIL PROTECTED]> writes:
> How can I set the effective UID for a shell script? I've got a
> script which checks if xscreensaver is running and if not, starts it
> and then activates it. However, the script always gets run as root
> (it's being run as an APM script). This doesn't work if I'm logged
> in as myself since xscreensaver will think it's dealing with root.

This sounds very similar to the case of running the screensaver over
your display manager; have you read the section "USING XDM(1)" in
xscresnaver(1)?  (Is it helpful?)

-- 
David Maze         [EMAIL PROTECTED]      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
        -- Abra Mitchell


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to