RHEL下FTP服务器搭建
2010-04-22 15:56
323 查看
为了实验,创建5个用户 user01 user02 user03 user04 user05,其中user02的shell是/sbin/nologin,并且没有密码,user03没有密码,user05的shell是/sbin/nologin
grep user0 /etc/passwd | awk -F \: '{print $1,$7}' >> boss1.txt
grep user0 /etc/shadow | awk -F \: '{print $2}' >> boss2.txt
paste boss1.txt boss2.txt >> boss3.txt
cat boss3.txt | grep -vE "\!|nologin" >> boss.txt
grep user0 /etc/passwd | awk -F \: '{print $1,$7}' >> boss1.txt
grep user0 /etc/shadow | awk -F \: '{print $2}' >> boss2.txt
paste boss1.txt boss2.txt >> boss3.txt
cat boss3.txt | grep -vE "\!|nologin" >> boss.txt
相关文章推荐
- RHEL系统以FTP服务器搭建yum源
- RHEL5中配置vsftpd搭建FTP服务器
- RHEL系统以FTP服务器搭建yum源
- RHEL5中配置vsftpd搭建FTP服务器
- RHEL5中配置vsftpd搭建FTP服务器
- RHEL5下FTP服务器的搭建
- 企业级FTP服务器虚拟用户的搭建 ---RHEL6.x
- RHEL6.4 搭建FTP服务器
- Linux下FTP服务器搭建
- Linux 系统下搭建Ftp服务器
- 阿里云服务器Linux搭建FTP和Mysql
- 怎样用SERV-U和花生壳搭建FTP服务器?
- centos 6.6 FTP服务器的搭建
- 怎样通过花生壳搭建FTP服务器
- linux centos FTP服务器搭建vsftpd配置
- RHEL6 syslog日志服务器搭建
- ubuntu下搭建ftp服务器 Very Secure FTP daemon(VSFTPD)
- ftp服务器简单搭建
- 使用iis搭建ftp服务器,无法往服务器写入数据