[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: horse carcas flogging (was: traceroute in /usr/bin, not /usr/sbin)



On Thu, Jun 14, 2001 at 05:50:13AM -0800, Ethan Benson wrote:

> ln -s /usr/sbin/traceroute /usr/local/bin and be done with it, thats
> what i did, a long time ago, its the first thing i do after installing
> a new debian system, its really NOT that big a deal if you prefer it
> in bin.

similarly, adding the sbin directories to the start of the
PATH setting in /etc/profile is the first thing i do when building a new
debian system.

it's a non-problem, easily "solved".

what i actually i do is cut and paste stuff like the following into
/etc/profile:

	PATH="/usr/local/sbin:/usr/sbin:/sbin:$PATH"
	PS1='\u@\h \w\$ '

	EDITOR=/usr/bin/vi
	export EDITOR

	http_proxy=http://hostname:port/
	ftp_proxy=http://hostname:port/

	export http_proxy ftp_proxy

	eval $(lesspipe)

	[ -e ~/.bash-aliases ] && . ~/.bash-aliases

	[ -x /usr/games/fortune ] && /usr/games/fortune


setting EDITOR=/usr/bin/vi is an interesting case in point. it is, IMO,
a very annoying bug that vipw, vigr, visudo, etc do not execute vi by
default. the name of the program implies vi, not ae and not joe or any
other editor.

however, since it's not going to change, and it's easily solved by
editing /etc/profile on every system i build (literally hundreds so
far), it's not worth stressing out about.


craig

-- 
craig sanders <cas@taz.net.au>

Fabricati Diem, PVNC.
 -- motto of the Ankh-Morpork City Watch



Reply to: