Re: User mode configuration?

James Knott <[email protected]> Wed, 20 Dec 2006 21:09:05 -0500
Newsgroups gmane.linux.linux-wlan.user
Message-ID <[email protected]>
Alfred Scamman wrote:
>  > You could potentially use 'sudo' to give the user root access ONLY to
> run this particular script.
>  > Karl
>
> Without compromising my security? I'd have to give her my root password
> or hard code it in the script. The interface is supposed to be
> configurable in user mode, as it does in kinternet. I want to be able to
> do that with a script in userspace; I shouldn't have to su anything.
>
> I'll do it if, and only if, it is the only way. I somehow think it is
> not. Do you, or anyone other, know a better way?
>   

You can configure sudo to not require a password.  I have it set up so
that any item in a certain directory can be run by sudo.  I then place a
script or symlink in that directory.