Date: Tue, 1 Dec 1998 22:24:31 -0700 From: Nate Williams <nate@mt.sri.com> To: Mike Smith <mike@smith.net.au> Cc: Luoqi Chen <luoqi@watermarkgroup.com>, committers@FreeBSD.ORG Subject: Re: full path of sysctl in bsd.port.mk? Message-ID: <199812020524.WAA03866@mt.sri.com> In-Reply-To: <199812020312.TAA02182@dingo.cdrom.com> References: <199812020118.UAA29476@lor.watermarkgroup.com> <199812020312.TAA02182@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[ sysctl not found in the 'standard' places ] > > > Sysctl should be in your path; it's a general-purpose enquiry tool. > > > > > It's in /sbin and I don't include it in my path as a non-root user. Isn't > > it a unix convention that system binaries (/sbin /usr/sbin) are included only > > in superuser's path? Most of them require root priviledge anyway. For the few > > that I do use frequently as a regular user (e.g. ping, traceroute), I have > > aliases for them in my shell's setup. > > >From hier(7): > > /sbin/ system programs and administration utilities fundamental to both > single-user and multi-user environments > > sysctl is a system program fundamental to both single-user and > multi-user environments. It's a popular misconception that */sbin > contains administrator-only programs; one that is popular amongst the > sort of admins that like to keep their users as much in the dark as > possible. Actually, go look at the programs in /sbin, and you'll be hard pressed to find any 'generically' useful programs aside from ping and traceroute that normal users can use. I'd say this 'misconception' is anything but a misconception, but a fact of the way life is. > As the general interacive interface to the system MIB, sysctl > definitely belongs in /sbin. Agreed, but it's not generically useful, nor should it be something normal users should rely on using. The interface changes too much, and it's use should be 'hidden' from use by normal users so they don't *have* to use it to get their job done. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812020524.WAA03866>