Re: User mode configuration?
Solomon Peachy <[email protected]> Thu, 21 Dec 2006 08:33:35 -0500
| Newsgroups | gmane.linux.linux-wlan.user |
|---|---|
| Message-ID | <[email protected]> |
--===============1598551049== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3lcZGd9BuhuYXNfi" Content-Disposition: inline --3lcZGd9BuhuYXNfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 20, 2006 at 08:59:32PM -0500, Alfred Scamman wrote: > 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. 'sudo' asks for the user password, not the root password. You can configure sudo to run with no password either, and you can also=20 lock down sudo so that it only allows that user to run that one command. But back to your original question -- technially, all network=20 configuration requires the ADMIN capability, usually only available to=20 root. Your distro network scripts use some setuid trickery to work=20 around this so mere users can up/down network interfaces, but not=20 configure them directly. - Solomon. --=20 Solomon Peachy [email protected] AbsoluteValue Systems http://www.linux-wlan.com 721-D North Drive +1 (321) 259-0737 (office) Melbourne, FL 32934 +1 (321) 259-0286 (fax) --3lcZGd9BuhuYXNfi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFFio0uhinxHf95MjYRAqQyAJ9fQP5UzM1NH/QxSYVXjuG4gz+MdACeMggV HnkPtieyiXC6GdKCjUa/u2M= =cw8i -----END PGP SIGNATURE----- --3lcZGd9BuhuYXNfi-- --===============1598551049== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linux-wlan-user mailing list [email protected] http://lists.linux-wlan.com/mailman/listinfo/linux-wlan-user --===============1598551049==--