Hi,
I have a script that I want to run on command (to eject the kindle via eject /dev/sdb1). However, to run that command I need to be root. I've made a script to run the appropriate command but how do I get that script to ask me for my root password so that it can run correctly?
The reason I'm doing this, is that if you simple eject the kindle, it still shows that it's connected via usb and you can't read it. However after issuing that command, all is well. Normally, I would just do it via the terminal, but I'm setting it up for my fiance so I want it to be just point and click.
Thanks!