ldd 명령어 사용법

ldd – 프로그램이 필요로하는 공유 라이브러리를 보여준다. plsgg@test:/bin> ldd ping linux-gate.so.1 => (0xb7f8e000) libresolv.so.2 => /lib/libresolv.so.2 (0xb7f46000) libc.so.6 => /lib/libc.so.6 (0xb7e13000) /lib/ld-linux.so.2 (0x0087d000) 라이브러리가 없다면 “=> not found” 를 출력한다. not found라고 되어 있는게 1개라도 있다면 당연히 올바르게 실행되지 않을 것이다. not found 라고 되어 있는 라이브러리만 찾아서 LD_LIBRARY_PATH 에 복사해 두면 실행이 된다.

curlftpfs를 이용한 ftp 마운트

curlftpfs 패키지를 설치한다. webterror ~ # emerge –search ftpfs Searching… [ Results for search key : ftpfs ] [ Applications found : 1 ] * net-fs/curlftpfs Latest version available: 0.9.2-r1 Latest version installed: [ Not Installed ] Size of files: 356 kB Homepage: http://curlftpfs.sourceforge.net/ Description: File system for accessing ftp hosts based on FUSE License: […]

Gentoo에서 sudoers 사용방법

아주 간단하게 해결할수 있다. ## sudoreplay and reboot. Use sudoreplay to play back logged sessions. # Defaults log_output # Defaults!/usr/bin/sudoreplay !log_output # Defaults!/usr/local/bin/sudoreplay !log_output # Defaults!/sbin/reboot !log_output ## ## Runas alias specification ## ## ## User privilege specification ## root ALL=(ALL) ALL ## Uncomment to allow members of group wheel to execute any command %wheel […]