본문 바로가기

Linux

root 및 사용자 계정 ftp 루트 디렉토리 변경하기


참조

  1. http://faq.hostway.co.kr/?mid=Linux_ETC&sort_index=regdate&page=17&order_type=asc&document_srl=7563

 

[root@hostway test]# vi /etc/passwd

[root@wqe213 test]# vi /etc/passwd

 

위의 명령어를 치면

 

위 화면에 녹색 텍스트 부분[1번]이 접속초기 폴더 입니다. 저기를 원하는 경로로 변경하면 sftp 접속시 경로가 
바뀌게 됩니다.

 

반응형