본문 바로가기

Special File Permission 1. setuid 프로그램이 실행되는 동안 프로그램 소유자의 권한으로 실행된다. 실행 권한이 있으면 s 실행 권한이 없으면 S setuid 설정 : chmod 4000 파일명 2. setgid 프로그램이 실행되는 동안 프로그램 그룹의 권한으로 실행된다. 실행 권한이 있으면 s 실행 권한이 없으면 I setgid 설정 : chmod 2000 파일명 3. sticky bit 디렉토리만 적용 디렉토리에 적용시 누구나 파일 생성 가능하지만 파일 소유자, 디렉토리 소유자, root를 제외하고는 삭제 불가능 파일에 적용시 메모리에 상주시킨다. 실행 권한이 있으면 t 실행 권한이 없으면 T sticky bit 설정 : chmod 1000 파일명 더보기
Managing User Access 1. 일반 사용자 및 root 의 접근을 제한하는 설정 파일 /etc/default/su /etc/default/login /etc/default/passwd # vi /etc/default/su 1 #ident "@(#)su.dfl 1.6 93/08/14 SMI" /* SVr4.0 1.2 */ 2 3 # SULOG determines the location of the file used to log all su attempts 4 # 5 SULOG=/var/adm/sulog 누가 언제 su 명령어를 썼는지 보기 6 7 # CONSOLE determines whether attempts to su to root should be logged 8 # to the named device 9 # 10 #CON.. 더보기
솔라리스 Putty 연결 설정 # vi /etc/ssh/sshd_config "/etc/ssh/sshd_config" 159 lines, 5121 characters 1 # Copyright (c) 2001 by Sun Microsystems, Inc. 2 # All rights reserved. 3 # 4 # ident "@(#)sshd_config 1.3 01/10/08 SMI" 5 # 6 # Configuration file for sshd(1m) 7 8 # Protocol versions supported 9 # 10 # The sshd shipped in this release of Solaris has support for major versions 11 # 1 and 2. It is recommended due to se.. 더보기