-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Jul 31, 2009 at 09:55:41AM +0200, Nido spoke thusly:
> Dear list,
> 
> I'm have installed -current and I like it a whole lot. There is one
> thing though that is not working as I like it, which is networking.
> I've installed this on a laptop which I take everywhere I go. I
> sometimes connect it to a cat5 cable, and sometimes to wireless
> networks.
> 
> But in order to do this I need to run ifconfig as root. I've
> considered allowing sudo with no password for ifconfig only but I am
> not sure this is the right solution. Is there anyone who may have a
> better idea to solve my problem?
> 
> Kind regards.
> 
> Nido Media
> _______________________________________________
> Openbsd-newbies mailing list
> [email protected]
> http://mailman.theapt.org/listinfo/openbsd-newbies
> 

Obviously you must be in the 'wheel' group. No, I don't see
anything wrong with it. The only downside, I suppose, is if
someone else gets their hands on the laptop. But, if that
happens, you've got lots more to worry about, anyway, than
just someone changing your network settings. ;) I have several
commands setup like that in the sudoers file. Example:

dennyboy  badboybox = NOPASSWD: /sbin/mount,/sbin/umount
dennyboy  badboybox = NOPASSWD: /usr/local/bin/cdrecord

Hope that helps.

Denny White

===============================================================
() ASCII ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
===============================================================
GnuPG key  : 0x1644E79A  |  http://wwwkeys.de.pgp.net 
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===============================================================

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (OpenBSD)

iEYEARECAAYFAkpzBgsACgkQy0Ty5RZE55pCSQCghq5Nim3I07RtP1+QXpa0Xqkr
3JIAn1To6adHK1v1Y8Qj9nNzoVkOwG9C
=NriP
-----END PGP SIGNATURE-----

_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to