Proftpd 如何建立新用户.密码 防问目录 权限
时间:2005-10-19 来源:wbftp2005
我的proftpd.conf
ServerName "ProFTPD B L U E Default Installation"
ServerType standalone
DefaultServer on
Port 21
Umask 022
MaxInstances 30
User nobody
Group nobody
DefaultRoot ~ skate,skate
AllowOverwrite on
<Limit SITE_CHMOD>
DenyAll
</Limit>
<Anonymous /home/blue>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit DELE RNFR RNTO RMD XRMD>
AllowALL
# DenyAll
</Limit>
</Anonymous>
ServerIdent off
RequireValidShell off
MaxInstances 30
User nobody
Group nobody
DefaultRoot ~ skate,skate
AllowOverwrite on
<Limit SITE_CHMOD>
DenyAll
</Limit>
<Anonymous /home/blue>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit DELE RNFR RNTO RMD XRMD>
AllowALL
# DenyAll
</Limit>
</Anonymous>
ServerIdent off
RequireValidShell off
我建skate,tc用户 这二个用户名.可怎么proftp.conf文件里面找不到这二个用户名.是怎么回事,能帮帮忙吗>?
groupadd skate 创建一个skate组
useradd skate –g skate –d /var/ftp/skate –s /sbin/nologin
passwd skate 设置skate的密码
useradd –d /var/ftp tc
passwd tc 设置tc的密码
gpasswd -a skate tc
gpasswd -a tc skate
ServerName "ProFTPD B L U E Default Installation"
ServerType standalone
DefaultServer on
Port 21
Umask 022
MaxInstances 30
User nobody
Group nobody
DefaultRoot ~ skate,skate
AllowOverwrite on
<Limit SITE_CHMOD>
DenyAll
</Limit>
<Anonymous /home/blue>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit DELE RNFR RNTO RMD XRMD>
AllowALL
# DenyAll
</Limit>
</Anonymous>
ServerIdent off
RequireValidShell off
MaxInstances 30
User nobody
Group nobody
DefaultRoot ~ skate,skate
AllowOverwrite on
<Limit SITE_CHMOD>
DenyAll
</Limit>
<Anonymous /home/blue>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit DELE RNFR RNTO RMD XRMD>
AllowALL
# DenyAll
</Limit>
</Anonymous>
ServerIdent off
RequireValidShell off
我建skate,tc用户 这二个用户名.可怎么proftp.conf文件里面找不到这二个用户名.是怎么回事,能帮帮忙吗>?
groupadd skate 创建一个skate组
useradd skate –g skate –d /var/ftp/skate –s /sbin/nologin
passwd skate 设置skate的密码
useradd –d /var/ftp tc
passwd tc 设置tc的密码
gpasswd -a skate tc
gpasswd -a tc skate
相关阅读 更多 +