- May 31, 2001
- 10,027
- 1
- 81
I'm trying to run an app in python under a different user
for example.
I want to load up gdesklets on start up. I've got the bash script written up to do it....but unfortunately, it automatically runs as root.
is there any way to make python run as a different user even if executed as root?
ie, root#python /usr/share/gdesklets/gdesklets start (is what i have so far)
but I'd like run gdesklets as someone else (ie, user) but executed as root?
does this make sense?
for example.
I want to load up gdesklets on start up. I've got the bash script written up to do it....but unfortunately, it automatically runs as root.
is there any way to make python run as a different user even if executed as root?
ie, root#python /usr/share/gdesklets/gdesklets start (is what i have so far)
but I'd like run gdesklets as someone else (ie, user) but executed as root?
does this make sense?