Bugzilla – Bug 106860
sbin (killproc and startproc) not in PATH for user root
Last modified: 2005-08-24 08:58:16 UTC
I just installed Beta 2 64 bit and wanted to setup the HP printer/scanner drivers, so after issuing /etc/init.d/hplip restart as root I issued skiantos:~ # /etc/init.d/cups restart Shutting down cupsd/etc/init.d/cups: line 92: killproc: command not found failed Starting cupsd/etc/init.d/cups: line 82: startproc: command not found failed Should /sbin be in the default path for root? this is the default skiantos:~ # echo $PATH /home/ivan/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
Hi, > Should /sbin be in the default path for root? I guess it is a feature and not a bug, because it is mentioned in the release notes. You have to use "su -" to invoke a shell with the whole environment. But you are right: a lot of users will get confused by this. The init.d scripts maybe should work arround this issue, for the users convinience.
*** This bug has been marked as a duplicate of 105681 ***