busybox 썸네일형 리스트형 busybox의 su: must be suid to work properly 상황 : busybox로 root filesystem을 만든 후 adduser를 통해 test라는 사용자를 추가하였다. telnet daemon을 띄우고 telnet으로 test로 로그인. 작업 중 su명령을 통해 root나 다른 계정으로 switch하려 하나 다음의 메세지를 뿌리며 계정 변경이 안됨 # su su: must be suid to work properly 해결 : /bin/busybox에 suid를 준다. # ls -al /bin/busybox -rwxrwxrwx 1 root root 1501040 Oct 16 2008 busybox # chmod u+s /bin/busybox # ls -al /bin/busybox -rwsr-xr-x 1 root root 1501040 Oct 16 200.. 더보기 Busybox를 이용한 Filesystem만들기 1. busybox 다운로드 및 패치 http://www.busybox.net/ 에서 최신 버전의 busybox를 다운로드 : 현재 최신 버전은 busybox-1.12.1이다. patch 파일 다운로드 : 현재 2개의 패치파일이 존재한다. busybox-1/12/1-grep.patch busybox-1.12.1-modprobe.patch 2. 압축 해제 및 패치 적용 압축 해제 root # tar -xvf busybox-1.12.1.tar.tar 패치 적용 root # patch < busybox-1.12.1-grep.patch can't find file to patch at input line 3 Perhaps you should have used the -p or --strip option? The.. 더보기 이전 1 다음