FTP configuration on HP-UX
来源:互联网 发布:软件开发部门工作计划 编辑:程序博客网 时间:2024/06/06 08:27
FTP configuration on HP-UX
1. Edit inetd.conf
Enable etc/ftpd/ftpaccess
Enabling or Disabling the /etc/ftpd/ftpaccess File
The following specifies how to enable or disable the /etc/ftpd/ftpaccess file:
• To enable the /etc/ftpd/ftpaccess file, specify the -a option for the ftp entry in the /etc/inetd.conf file. For example:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -a -l -d
• To disable the /etc/ftpd/ftpaccess file, specify the -A option for the ftp entry in the /etc/inetd.conf file. For example:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -A -l -d
Otherwise, you can disable the /etc/ftpd/ftpaccess file by not specifying any option for the ftp entry in the /etc/inetd.conf file.
#etc/inetd –c
:Make inetd reload inetd.conf
2. copy files from /usr/newconfig/etc/ftpd/examples to etc/ftpd
• /etc/ftpd/ftpconversions
• /etc/ftpd/ftphosts
• /etc/ftpd/ftpusers
• /etc/ftpd/ftpgroups
• /etc/ftpd/ftpaccess
3. create group
#groupadd ftpuser
4. create user
#useradd testuser
#passwd testuser
5. Edit etc/group
Add the new user to group
ftpuser::106:bluedusk
6. Edit etc/ftpd/ftpaccess, add 5 rows:
chmod yes guest
delete yes guest
overwrite yes guest
rename yes guest
guestgroup ftpuser
: this is to force the user to its own folder when access.
7. Edit etc/passwd, give testuser a invalid shell
bluedusk:lBcUdgucgPH6.:108:20::/home/bluedusk:/bin/false
8. copy ls to home/testuser
cp /sbin/ls /home/testuser/usr/bin
9. commands
pwck :ckeck password
Ckconfig: check config
- FTP configuration on HP-UX
- HP-UX:FTP自动上传与下载
- 開啟HP-UX 11.31的FTP服務
- RAC on HP-UX 实施建议
- Qualifying source code on HP-UX(chatr)
- HP-UX
- 在HP-UX下建立匿名FTP服务器
- HP-UX匿名ftp的upload权限问题
- HP-UX学习笔记
- HP-UX LVM管理
- HP-UX glance正式版
- HP-UX COMMAND
- HP-UX常用命令
- HP-UX:SHELL:VI
- 总结HP-UX常用命令
- HP-UX常用命令
- HP-UX常用命令
- HP-UX的安装
- 线性插值方法
- Spring+Hibernate事务处理,很简单的例子
- ORACLE的bbed工具
- 调用/"server.createObject(/"excel.application/")/"的时候发生的错误
- 程序调试语句汇集
- FTP configuration on HP-UX
- VS提示“非静态的字段、方法或属性要求对象引用”
- 哲理小段落
- GridView中的命令按钮的应用
- 实施CMMI3 存在的风险大概分哪几类
- 基于Spring的DAO层设计
- 装错信封问题
- 什么是CMMI
- 【转】我的编程之路