Howto script "sudo"?

JD jd1008 at gmail.com
Sun Jul 18 15:15:09 UTC 2010


  On 07/18/2010 05:51 AM, Clemens Eisserer wrote:
> Hello,
>
> Is it possible to pass "sudo" the root-password in some way (I would
> prefer plaintext)?
>
> The reason is I use an umts-connection utility which has to run as
> root, and I don't want to have my parents type a root-password every
> time they connect to our ISP. For now I simply didn't set a
> root-password, and choose "run as: root" in KDE, but I really dislike
> this solution.
>
> Thank you in advance, Clemens
Why not just edit /ect/sudoers
and add the line
UserName  ALL=FullPathnameToUmtsCommand

Where UserName is the login name of your parent's account
and FullPathnameToUmtsCommand is self explanatory.


More information about the users mailing list