首页 > 代码库 > htpasswd: command not found

htpasswd: command not found

# htpasswd -c /etc/httpd/password jonson
bash: htpasswd: command not found
刚装了httpd-2.2.0.tar.bz2,出现了以上问题,不知为什么?

还有apache已经在用了,但是却找不到它,迷惑中~~
# rpm -q httpd
package httpd is not installed
请教大侠上面两个问题

-----------------------------------------

find / -name htpasswd -type f

看看有没有

htpasswd 命令不在当前路径里面,用find 找到它,  执行时,用绝对路径,或者修改  PATH

本文出自 “CBO#Boy_Linux之路” 博客,转载请与作者联系!

htpasswd: command not found