MCU/Linux

부팅시 시작되는 프로그램 설정

고냥정권 2008. 6. 25. 00:39
service sshd stop

netstat -ntlp

chkconfig sshd off      - sshd가 부팅시 시작 안되게 설정한다.

chkconfig --list sshd



......make install.


...
...
..
.. complete!



echo $?

음.


그냥 잡다 퀴즈

퀴즈>  xinetd type daemon 중 telnet server 의 접속을 회사 규칙상

         다음과 같이 제한 하고자 합니다. 

    1. 회사 업무시간(오전8시~오후5시 45분)에만 접속가능

    2. 192.168.x.20 컴/ 192.168.x.123 컴만 접속 가능



    vi    /etc/xinetd.d/telnet

        -> access_times = 08:00-17:45

        -> only_from = 192.168.x.20  192.168.x.123

    service   xinetd   restart
반응형