Run a .desktop as root without password prompt
I'm setting up a Mandrake 10 computer for my grandmother. Unfortunately she's stuck with dialup - but fortunately her Dialup ISP supports linux and I got their client up and running. There's only one problem - in order to talk to the modem, the shell script that runs the dialer client must be run as root, as well as running ifdown to actually hang up. Now, as it is I have the desktop shortcut set to Run as Root - but this prompts me for a password. (It's in KDE.) I've made the root password nothing, but it still asks. I'de rather not make my grandmother have to click through a bunch of root login screens to sign on and off - so far I only can think of three options - none of which I know the feasability of.
1) Somehow make the desktop icon automatically provide the root password. I'de make a shortcut to ifdown ppp0 as well using the same idea so there'd be no confusion.
2) Modify the shell script that runs the client to SU in as root first, and again somehow provide the password, and then make a shell script for ifdown to do the same thing.
3) (This is a last resort kinda thing, I'm well aware of the security risks) Autologin as root - which they dont directly allow you to do, but that's probably passable if one knows what file to edit.
If anyone has any ideas on solving any of these solutions, or if you have another of your own I'de be very, very happy to hear it.