Re: Setting effective UID for a shell script
Alex Malinovich <demonbane@the-love-shack.net> 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 dmaze@debian.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: