一个关于apache奇怪的问题:

由 尘飞扬 在 06-23-2003 21:53 发表:

一个关于apache奇怪的问题:

我先做好了web服务器,默认根目录是:/var/www/html

然后我又建立了一个ftp用户cfz 让它默认登录路径为:/var/www/html

但是我昨天删掉cfz用户以后,居然/var/www/html这个目录也不见了,太奇怪了,有这种可能么?我的web页面就这样居然没有了。怎么回事呢?


清风徐来尘飞扬


由 yongjian 在 06-24-2003 00:50 发表:


if you setup the cfz has the home directory /var/www/html, it will be deleted by deleting the cfz user. for example, useradd -m -d /var/www/html cfz && userdel -r cfz. the folder will just be gone when you delete the user. But, for some distributions, such as SuSE, RH, if you did not specify -r, the folder would not be deleted, just the user.


由 尘飞扬 在 06-24-2003 09:09 发表:

谢谢楼上这样兄弟,

可是我删除的时候是在x界面下删除的,没有加什么-r参数啊。


清风徐来尘飞扬


由 dancingpig 在 06-24-2003 09:18 发表:


是useradd -d /var/www/html加上的?然后用userdel删的?我删的时候没有

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus