tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Jason M. Heyd" <heyd () lycos ! com>
To: tru64-unix-managers
Subject: SUMMARY (sorta): netstat: not found
Date: Fri, 25 Oct 1996 18:32:54 +0000	[thread overview]
Message-ID: <96076340321809.tru64-unix-managers.marc@archive.invalid> (raw)

Ok, after several descriptions of how to set my path variable, and hints
that I've asked a silly question for a Senior Sys Admin, I still don't
have an answer for why 'netstat' returns 'not found' when executed
without the full path... I've gone over all the basics and am starting to
think I've got a loopy file-system somewhere as the same thing works on
another system that's a twin of the first. So, in summary:

1. /sbin, /usr/sbin and several other directories are in my path

2. I know 'which' is a csh script that sources the .cshrc file of the user
executing the command (a very important thing to note if you happen to use
'su <user>' prior to using 'which').

3. /sbin, /usr/sbin and several other directories are within the path
that's set in that .cshrc file in any case.

4. executing the command as any user, using appropriate paths gets the
same result although originally I did execute 'su - root' setting root's
user environment which did and still does include /sbin in the path.

So, in a nut-shell, I'm still stumped. Thanks to those who kicked out
ideas about how 'which' functions and the distinction between 'su' with
and without the '-' option .. I have in fact made that mistake in the
past, but not this time unfortunately!

Cheers,

Jason
--
Jason M. Heyd

Senior Systems Administrator, and       Email: jheyd@lycos.com
Information Systems Security Officer
Lycos, Inc.                             WWW  : http://www.lycos.com/

                 reply	other threads:[~1996-10-25 18:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox