[482] in NetBSD-Development

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

The default PATH for NetBSD

daemon@ATHENA.MIT.EDU (John Hawkinson)
Fri Jan 27 10:01:03 1995

Date: Fri, 27 Jan 1995 10:00:34 -0500
To: ghudson@MIT.EDU
Cc: netbsd-dev@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>


Before I go through all of our sources and ensure that all that PATHs
are the same, in various programs (cshrc, xlogin, login, login.krb,
rshd, etc.), I'd like to make sure that we all agree on what
that PATH should be.

I think it ought to be:

/usr/local/bin:/usr/athena/bin:/bin/athena:/usr/X11/bin:/sbin:
/usr/sbin:/bin:/usr/bin

Greg, as best I can tell, you think it should be:

/usr/local/bin:/usr/athena/bin:/bin/athena:/usr/X11/bin:/usr/bin:/bin

Your rlog comment for verify.c (from xdm/xlogin) says:

} Set the default path for NetBSD.  Two notes: /srvd/patch definitely needs
} to be in the path, and /sbin and /usr/sbin are not there.  If users wish
} to add /sbin and /usr/sbin to their paths, they can, but it doesn't belong
} there by default.

I disagree with this. I think that /sbin and /usr/sbin _do_ belong
in user's PATHS. This is more of a pragmatic opinion rather than
a philosophical one, but there are programs in those directories
that users ought to be able to run without dotfile hacking, thus
I think they should be in the PATH.

Presumably, Greg feels they shouldn't be there since they "pollute the
model". I think that much model pollution is acceptable :-).

Does anyone else have any opinions?

Incidently, I've removed /afs/sipb/project/netbsd/dev/athena/init
in favor of /afs/sipb/project/netbsd/dev/athena/xdm/init, which contained
the current versions of the relevant files, whereas the former contained
the obsolete versions :-)...

--jhawk

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