root@qvl:~# apt-get install sudo Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: sudo 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 599 kB of archives. After this operation, 946 kB of additional disk space will be used. Get:1 http://security.debian.org/ squeeze/updates/main sudo armel 1.7.4p4-2.squeeze.3 [599 kB] Fetched 599 kB in 3s (176 kB/s) Selecting previously deselected package sudo. (Reading database ... 11167 files and directories currently installed.) Unpacking sudo (from .../sudo_1.7.4p4-2.squeeze.3_armel.deb) ... Processing triggers for man-db ... Setting up sudo (1.7.4p4-2.squeeze.3) ... No /etc/sudoers found... creating one for you. !root@qvl:~#sudo グループに入れる
!root@qvl:~# addgroup yasunari sudo Adding user `yasunari' to group `sudo' ... Adding user yasunari to group sudo Done. root@qvl:~#一旦ログアウト、yasunariで再度ログインする
Linux 2.6.31.8 (x60l.yamasita.jp) (pts/0) qvl login: yasunari Password: Last login: Sun Jul 1 20:50:03 JST 2012 from x60l.yamasita.jp on pts/0 Linux qvl 2.6.31.8 #2 Tue Mar 13 13:10:42 JST 2012 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. yasunari@qvl:~$ id uid=1001(yasunari) gid=1001(yamasita) groups=1001(yamasita),27(sudo) yasunari@qvl:~$ sudo ls / [sudo] password for yasunari: bin dev home lib mnt proc sbin srv tmp var boot etc initrd media opt root selinux sys usr yasunari@qvl:~$OK
root@qvl:~# apt-get install make gcc libc6-dev Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: binutils cpp cpp-4.4 gcc-4.4 libc-dev-bin libgmp3c2 libgomp1 libmpfr4 linux-libc-dev manpages-dev Suggested packages: binutils-doc cpp-doc gcc-4.4-locales gcc-multilib autoconf automake1.9 libtool flex bison gdb gcc-doc libmudflap0-4.4-dev gcc-4.4-doc libgcc1-dbg libgomp1-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7 glibc-doc make-doc The following NEW packages will be installed: binutils cpp cpp-4.4 gcc gcc-4.4 libc-dev-bin libc6-dev libgmp3c2 libgomp1 libmpfr4 linux-libc-dev make manpages-dev 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 13.4 MB of archives. After this operation, 39.0 MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://ftp.jp.debian.org/debian/ squeeze/main binutils armel 2.20.1-16 [3093 kB] Get:2 http://ftp.jp.debian.org/debian/ squeeze/main libgmp3c2 armel 2:4.3.2+dfsg-1 [251 kB] : : Setting up libc-dev-bin (2.11.3-3) ... Setting up linux-libc-dev (2.6.32-45) ... Setting up libc6-dev (2.11.3-3) ... Setting up make (3.81-8) ... Setting up manpages-dev (3.27-1) ... !root@qvl:~#OK
!root@qvl:~# apt-get clean root@qvl:~#
|
← 最初の設定 ~ ftp サーバ |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ カーネルの再構築 |
Copyright (C) 2003-2012 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市