Q:How to get /sbin,/usr/sbin back into $PATH...

Q:How to get /sbin,/usr/sbin back into $PATH...

Post by Wes Yat » Wed, 24 Mar 1999 04:00:00

I don't know what I did or how I did it, but when I echo $PATH I get no
/sbin or /usr/sbin. I haven't changed /etc/profile or I don't think I
changed ~/.bash_profile, but something is wrong. Right now I have:


and I need:

/usr/local/qt/bin:/sbin:/bin:/usr/sbin:/usr/bin ...

How do I get this back to normal????

What could I have done?!?

Thanks a lot guys!

-Wes Yates


1. /usr/sbin/traceroute ha1 ksh: /usr/sbin/traceroute: not found

/usr/sbin/traceroute ha1
ksh: /usr/sbin/traceroute:  not found

The system is System = SunOS
Node = xxx.ddd.com
Release = 5.6
KernelID = Generic_105181-15
Machine = sun4u

How? Why?  I have traceroute on SunOS 5.7

download it and compile it like the way
a c compiler and gzip were missing!
Can it be true?

Disclaimer: opinions expressed my own and not representative of my employers

2. DTMF decoder

3. help with /sbin and /usr/sbin permissions

4. boot linux from pcmcia

5. Slackware and /usr/sbin/sbin/

6. Mandrake 7.2 Menus are gigantic

7. dangerous permissions on /sbin and /usr/sbin

8. transmit timeout

9. What is this?: /USR/SBIN/CRON[492]: (mail) CMD ( if [ -x /usr/sbin/exim ]; then /usr/sbin/exim -q >/dev/null 2>&1; fi)

10. Runlevel 5 and path lost /sbin and /usr/bin

11. /usr/sbin/cron[55479]: getting vmemoryuse resource limit: Invalid argument

12. /sbin/sh and /sbin/sh

13. In kernel routing table vs. /sbin/ip vs. /sbin/route