how to autorun script at startup as administrator?

Dave Stevens geek at uniserve.com
Wed Dec 18 19:45:54 UTC 2019


On Mon, 16 Dec 2019 23:24:17 -0500
Little Girl <littlergirl at gmail.com> wrote:

> I see it there, thanks so much!  
> 
> I'm glad it helped. I've used it for years for my daily reminders
> script and my wallpaper changer script (neither of which I can live
> without) and it's rock solid.

hmmmmmmm...

glad to see the option and will use it with thanks. But.
I need to have a program run on power up remotely and without
intervention (no login) and as administrator.


I've looked further and rc.local seems like a good candidate but I
don't know how I can run with elevated privileges, I've only ever used
sudo and won't necesarily (or likely) be around to intervene. In fact
avoiding the intervention is the point.

Can anyone point me in the direction of a script running as admin
without intervention?

d




More information about the ubuntu-users mailing list