快速业务通道

Linux4.0 FTP server relevant config

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-01
n 4:off 5:on 6:off

[root@michael ~]# service vsftpd restart

Shutting down vsftpd: [ OK ]

Starting vsftpd for vsftpd: [ OK ]

[root@michael ~]# service vsftpd status

vsftpd (pid 3643) is running...

8.test user login ftp server.

“Anonymous user login”

[root@michael ~]# ftp 192.168.5.1

Connected to 192.168.5.1.

220 (vsFTPd 2.0.1)

530 Please login with USER and PASS.

530 Please login with USER and PASS.

KERBEROS_V4 rejected as an authentication type

Name (192.168.5.1:root): ftp/anonymous

331 Please specify the password.

Password:

230 Login successful.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> pwd

257 "/"

ftp> ls

227 Entering Passive Mode (192,168,5,1,201,214)

150 Here comes the directory listing.

drwxr-xr-x 2 0 0 4096 May 24 2006 pub

226 Directory send OK.

ftp>

“loacduser login ftp server”

[root@michael ~]# ftp 192.168.5.1

Connected to 192.168.5.1.

220 (vsFTPd 2.0.1)

530 Please login with USER and PASS.

530 Please login with USER and PASS.

KERBEROS_V4 rejected as an authentication type

Name (192.168.5.1:root): abc

331 Please specify the password.

Password:

230 Login successful.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> ls

227 Entering Passive Mode (192,168,5,1,186,149)

150 Here comes the directory listing.

226 Directory send OK.

ftp> ll

?Invalid command

ftp> ls -al

227 Entering Passive Mode (192,168,5,1,66,115)

150 Here comes the directory listing.

drwx------ 3 500 500 4096 Jul 30 10:13 .

drwxr-xr-x 5 0 0 4096 Jul 30 14:50 ..

-rw------- 1 500 500 10 Jul 30 10:13 .bash_history

-rw-r--r-- 1 500 500 24 Jul 30 10:10 .bash_logout

-rw-r--r-- 1 500 500 191 Jul 30 10:10 .bash_profile

-rw-r--r-- 1 500 500 124 Jul 30 10:10 .bashrc

-rw-r--r-- 1 500 500 383 Jul 30 10:10 .emacs

-rw-r--r-- 1 500 500 120 Jul 30 10:10 .gtkrc

drwxr-xr-x 3 500 500 4096 Jul 30 10:10 .kde

-rw-r--r-- 1 500 500 658 Jul 30 10:10 .zshrc

226 Directory send OK.

ftp> pwd

257 "/home/abc"

ftp> quit

221 Goodbye.

9.Config ftp loacl user login ftp serer 锁定在自已的目录中.

方法1:

[root@michael ~]# ftp 192.168.5.1

Connected to 192.168.5.1.

220 (vsFTPd 2.0.1)

530 Please login with USER and PASS.

530 Please login with USER and PASS.

KERBEROS_V4 rejected as an authentication type

Name (192.168.5.1:root): abc

331 Please specify the password.

Password:

230 Login successful.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> pwd

257 "/home/abc"

ftp> cd /

250 Directory successfully changed.

ftp> pwd''^H

?Invalid command

ftp> pwd

257 "/"

ftp>

[root@michael ~]# vi /etc/vsftpd/vsftpd.conf

#deny_email_enable=YES

# (default follows)

#banned_email_file=/etc/vsftpd.banned_emails

#

# You may specify an explicit list of local users to chroot() to their home

# directory. If chroot_local_

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号