게시물 41건
   
[RHEL7.3] vsftp root 사용가능 [ sed / mv ]
글쓴이 : theko 날짜 : 2017-10-11 (수) 17:11 조회 : 291
systemctl stop vsftpd.service

cp /etc/vsftpd/ftpusers  /etc/vsftpd/ftpusers_20171011

cp /etc/vsftpd/user_list /etc/vsftpd/user_list_20171011


sed -e s/root/#root/g  /etc/vsftpd/ftpusers > /etc/vsftpd/ftpusers_change
mv -f /etc/vsftpd/ftpusers_change  /etc/vsftpd/ftpusers


sed -e s/root/#root/g  /etc/vsftpd/user_list > /etc/vsftpd/user_list_change
mv -f /etc/vsftpd/user_list_change /etc/vsftpd/user_list


systemctl enable vsftpd.service

systemctl start vsftpd.service

systemctl status vsftpd.service

이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com