Gene Auyeung dixit (2010-12-04, 11:23): > Just curious, how would the script get permission to mount? You can't > type the password for sudo because it's not interactive. And you can't > rely on the limited time that sudo grants access if you run the script > with sudo, because presumably the battery lasts much longer than > that?
Simplest way: <your-user> ALL=(ALL) NOPASSWD: ALL The safer way would obviously be if you limit this to /bin/mount. Regards, -- [a]