Bugzilla – Bug 104639
sshd Restart Failure
Last modified: 2005-08-16 11:54:08 UTC
I get the following error when trying to restart the sshd on SuSe 10.0 beta 1: linux:/etc/init.d # ./sshd restart Shutting down SSH daemon./sshd: line 74: killproc: command not found failed Starting SSH daemon./sshd: line 64: startproc: command not found failed Editing the file, I was able to remedy the problem by pointing to /sbin/killproc and /sbin/startproc rather than just referring to killproc and startproc as if they were in my path. So depending on how you want to fix this, a path entry can be added or an absolute path can be used. I'd almost suggest going with the absolute path since their locations are going to be constant and it'd avoid problems caused by people kludging with their $PATH variables.
IMHO no /sbin nor /usr/sbin in path after su
Use su -.