用Apache htpasswd管理SVN帐户

在apache安装目录下找到bin目录,该目录下有htpasswd执行文件

htpasswd -cmb userfile abc 123456
c  :create
m:md5
b :在命令行上输入密码
解释:创建userfile文件,增加用户名为abc的用户,密码为md5加密的123456

更新密码
htpasswd userfile abc

添加新用户
htpasswd userfile xyz

删除用户
htpasswd -D userfile xyz

生成.htaccess
htpasswd -c .htaccess user


转自:http://www.kixi.com.cn/html/xitong/linux/20080824/110.html

posted on 2008-10-14 11:06  岚之山  阅读(147)  评论(0编辑  收藏  举报

导航