/tmp Permission denied 에러 날경우 # cd /tmp# touch 1touch: cannot touch `1': Permission denied 보통 /tmp 폴더에 여러가지 log 파일이나 환경 프로그램 설치 파일들을 저장을 하는데permission 에러가 간혹 날때가 있다. 권한관련 문제가 생겨서 그렇다 # chmod 1777 /tmp/# touch 1# ls -al1 cgdb lost+found mapping-root scim-panel-socket:0-root Linux 2015.12.21
cimserver 서비스 죽이기 redhat 에 풀패키지로 설치 할경우 cimserver도 설치가 된다.cimserver는 hp WBEM 관련 사용을 안하면 서비스를 죽이지 cimserver 서비스 실행# cimsesrvercimserver 서비스 중지# cimserver -s 부팅시 자동실행 중지# chkconfig tog-pegasus off 실행명이 달라서 한참 찾았다.. [출처] hp-ux cimserver, cimproagt|작성자 안녕 Linux 2015.12.16
init.d 서비스 등록 init.d 서비스 등록하는법 예를 들어서 macchanger 를 service 에 등록하자. #vi mac #!/bin/bash# chkconfig: 2345 90 90 # description: test servicecase "$1" in start) /usr/local/bin/macchanger -m 00:00:00:00:00:00 eth0 --> mac 변경 ;; stop) /usr/local/bin/macchanger --random eth0 --> mac random ;; *) echo "Usage {start|stop}" exit 1 ;;esacexit 0 # chmod 755 mac# mv mac /etc/init.d/ # chkconfig --add mac# chkconfig mac on.. Linux 2015.12.15