问了数次了...没人给我讲讲如何给proftpd增加用户/密码吗!!!

由 hgkrt 在 09-07-2003 04:35 发表:

问了数次了...没人给我讲讲如何给proftpd增加用户/密码吗!!!

不使用系统的...

就是用alias 用户 ftp

这样的...怎么做!!!


欢迎访问我的个人主页!!!

主机:

http://hgkrt.minidns.net/

网上空间:

http://www.paw.hi-ho.ne.jp/hgkrt


由 lordbyorn 在 09-09-2003 13:29 发表:


不用你系统的是不可能的。


Kurt is me.

Studing hard. Making my way to the top of the world.


由 vion800 在 09-09-2003 13:42 发表:


我的做法是给proftpd设置一个组,接下来就是添加用户。

例如:adduser -g ftp -d /home/ftp vion800

接着就把ftp这个目录的所有权付给vion800

adduser -g ftp -d /home/ftp vion801

这个是普通用户。

我上次在这里看到一个比较实在的做法,就是直接在proftpd.conf

里面做,你要不就自己看看,如果找不到的话,给我流言,我今晚回去再告诉你


由 shihao 在 09-09-2003 15:16 发表:


拜托,下回不要老叫,自己找找不可以吗?

1<anonymous dir="" sub="" ~ftp=""></anonymous>

AnonRequirePassword on

RequireValidShell off

User ftp

Group nobody

UserPassword ftp encpasswd

UserPassword ftpuser1 encpasswd1

UserPassword ftpuser2 encpasswd2

(...)

UserAlias ftpuser1 ftp

UserAlias ftpuser2 ftp

(...) 另外,你还可以用LDAP什么的,多的是了......

我不用proftpd,我用pure-ftpd,好用的很。


仅供参考,作者不对该脚本造成的任何结果负责


由 hgkrt 在 09-09-2003 19:43 发表:


老大,你写的是啥意思呀!!!

你那个密码是怎么得来的呢!!!

> quote: > > * * * > > 最初由 shihao 发表
>
> **拜托,下回不要老叫,自己找找不可以吗?
>
>
>
>

1<anonymous dir="" sub="" ~ftp=""></anonymous>

>
> AnonRequirePassword on
>
> RequireValidShell off
>
> User ftp
>
> Group nobody
>
>
>
> # UserPassword ftp encpasswd
>
> UserPassword ftpuser1 encpasswd1===========这里的密码是怎么来的!!!
>
> UserPassword ftpuser2 encpasswd2
>
> (...)
>
>
>
> UserAlias ftpuser1 ftp
>
> UserAlias ftpuser2 ftp
>
> (...)
>
> >
> 另外,你还可以用LDAP什么的,多的是了......
>
> 我不用proftpd,我用pure-ftpd,好用的很。 ** > > * * *


欢迎访问我的个人主页!!!

主机:

http://hgkrt.minidns.net/

网上空间:

http://www.paw.hi-ho.ne.jp/hgkrt


由 vion800 在 09-09-2003 22:33 发表:


http://www.linuxsir.com/bbs/showthr...;threadid=37044

自己看看吧


由 hgkrt 在 09-10-2003 17:47 发表:


看了无数遍啦...没弄清楚hash...

我照他说的弄,不成...


欢迎访问我的个人主页!!!

主机:

http://hgkrt.minidns.net/

网上空间:

http://www.paw.hi-ho.ne.jp/hgkrt


由 Glue 在 09-10-2003 20:34 发表:

更正

我也还在试,一样的错误信息


-_-


由 hgkrt 在 09-10-2003 20:50 发表:


我就是这么做的..但是还是不能登陆...提示密码不对!!

我不知道该怎么具体的操作...

比如说,ftpasswd必须和proftpd.conf一个目录吗!!!不然,不知道他们怎么能够关联上...

<f

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