AIX下安装proFTPD-支持虚拟用户和SFTP
2013-03-11 16:46
381 查看
1、编译安装
注意:
(1)依赖环境openssl,zlib,下载包参考http://www.perzl.org/aix/index.php?n=Main.Proftpd
(2)proFTPD源码下载地址:http://www.proftpd.org/
install_user=nocard install_group=app ./configure --prefix=/cmsp/usr/nocard/proftpd --without-pam --disable-auth-pam --enable-openssl --with-modules=mod_ratio:mod_readme:mod_sftp:mod_quotatab:mod_quotatab_file
make
make install
2、虚拟用户及SFTP配置
cd sbin
cp ../../proftpd-1.3.4b/contrib/ftpasswd .
cp ../../proftpd-1.3.4b/contrib/ftpquota .
(1)添加虚拟用户
cd /cmsp/usr/nocard/proftpd/
mkdir data
cd data
chmod 777 *
./ftpasswd --passwd --name=biankai --uid=2001 --home=/cmsp/usr/nocard/proftpd/data/biankai --shell=/usr/bin/ksh --file=/cmsp/usr/nocard/proftpd/etc/passwd
(2)添加虚拟用户组
./ftpasswd --group --file=/cmsp/usr/nocard/proftpd/etc/group --name=test --gid=2001
(3)添加用户到组中
./ftpasswd --group --file=/cmsp/usr/nocard/proftpd/etc/group --name=test --gid=2001 --member=biankai
(4)vi ~/proftpd/etc/proftpd.conf
#增加如下内容
#虚拟用户权限认证
AuthOrder mod_auth_file.c
AuthUserFile /cmsp/usr/nocard/proftpd/etc/passwd
AuthGroupFile /cmsp/usr/nocard/proftpd/etc/group
#sftp支持
SFTPEngine On
SFTPHostKey /etc/ssh/ssh_host_rsa_key
SFTPHostKey /etc/ssh/ssh_host_dsa_key
3、前台方式启动(以root用户启动):
./proftpd -n -d2
4、客户端选择SFTP方式访问
注意:
(1)依赖环境openssl,zlib,下载包参考http://www.perzl.org/aix/index.php?n=Main.Proftpd
(2)proFTPD源码下载地址:http://www.proftpd.org/
install_user=nocard install_group=app ./configure --prefix=/cmsp/usr/nocard/proftpd --without-pam --disable-auth-pam --enable-openssl --with-modules=mod_ratio:mod_readme:mod_sftp:mod_quotatab:mod_quotatab_file
make
make install
2、虚拟用户及SFTP配置
cd sbin
cp ../../proftpd-1.3.4b/contrib/ftpasswd .
cp ../../proftpd-1.3.4b/contrib/ftpquota .
(1)添加虚拟用户
cd /cmsp/usr/nocard/proftpd/
mkdir data
cd data
chmod 777 *
./ftpasswd --passwd --name=biankai --uid=2001 --home=/cmsp/usr/nocard/proftpd/data/biankai --shell=/usr/bin/ksh --file=/cmsp/usr/nocard/proftpd/etc/passwd
(2)添加虚拟用户组
./ftpasswd --group --file=/cmsp/usr/nocard/proftpd/etc/group --name=test --gid=2001
(3)添加用户到组中
./ftpasswd --group --file=/cmsp/usr/nocard/proftpd/etc/group --name=test --gid=2001 --member=biankai
(4)vi ~/proftpd/etc/proftpd.conf
#增加如下内容
#虚拟用户权限认证
AuthOrder mod_auth_file.c
AuthUserFile /cmsp/usr/nocard/proftpd/etc/passwd
AuthGroupFile /cmsp/usr/nocard/proftpd/etc/group
#sftp支持
SFTPEngine On
SFTPHostKey /etc/ssh/ssh_host_rsa_key
SFTPHostKey /etc/ssh/ssh_host_dsa_key
3、前台方式启动(以root用户启动):
./proftpd -n -d2
4、客户端选择SFTP方式访问
相关文章推荐
- AIX下安装proFTPD-支持虚拟用户和SFTP
- ProFTPD支持MySQL添加虚拟用户认证及磁盘限额
- ProFTPD 支持MySQL数据库添加虚拟用户认证及Quotas(磁盘限额)
- UBuntu9.10安装proFTPd支持SFTP
- UBuntu9.10安装proFTPd支持SFTP
- Ubuntu 安装 proftpd,并添加虚拟用户
- CentOS下一键安装vsftpd服务(支持虚拟用户及32位64位系统)
- Ubuntu 安装 proftpd,并添加虚拟用户
- UBuntu9.10安装proFTPd支持SFTP
- ProFTPD 支持MySQL数据库添加虚拟用户认证及Quotas(磁盘限额)
- 文件服务器 之 ProFTPD 支持MySQL数据库添加虚拟用户认证及Quotas(磁盘限额)
- UBuntu9.10安装proFTPd支持SFTP
- ProFTPD 支持MySQL数据库添加虚拟用户认证及Quotas(磁盘限额)
- Ubuntu 安装 proftpd,并添加虚拟用户
- CentOS 6.6 下安装vsftpd并配置虚拟用户
- centOS6.8 ftp服务 安装配置 基于本地用户和虚拟用户
- Win10已没有支持纯净安装的路径 若用户执意重装将失去激活
- CentOS6 vsFTP安装与配置(使用虚拟用户)
- Vsftpd完全攻略(六)建立多个虚拟用户支持ftp不同访问权限【1】
- RedHat 7.0 下 FTP 服务的安装,启动,配置,以及虚拟用户的建立