[502] in NetBSD-Development

home help back first fref pref prev next nref lref last post

Re: The default PATH for NetBSD

daemon@ATHENA.MIT.EDU (John Hawkinson)
Sat Jan 28 23:54:35 1995

Date: Sat, 28 Jan 1995 23:54:09 +0500
To: netbsd-dev@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>


Oops, I forgot to cc this reponse to Chad.

> I have to agree with Greg on this one.  The only thing in /sbin and
> /usr/sbin that I see that I think should be in the default path
> perhaps is ping.  What else, John?

Part the first: I dislike requring one to change paths after su-ing
to root. Perhaps this is a problem others don't have.

Part the second: The following are utilities I use or expect to use,
as a normal user, which live in /sbin:

fsck
ifconfig
ldconfig
mount (as of -current, users may mount filesystems, eg: floppies)
newfs (and newlfs)
ping
route
ttyflags (only useful for debugging)

Part the third: those in /usr/sbin

catman
chown (over AFS)
fdformat
inetd (for nonpriv ports)
mrinfo (assuming it's setuid root, which it is not distributed as)
nslookup
nsquery
nstest
rdate (with -p)
sendmail
spray
sysctl
tcpdump (assuming I have access to /dev/bpf*)
traceroute
trpt   \___/-> (assuming I ever figure out how to use them)
trsp   /
yppoll

--jhawk

ps: Most of you don't use these. You might try it some day.

home help back first fref pref prev next nref lref last post