Debian GNU/Linux lenny/sid hackkit login: guest Password: hack(画面には表示されません) Last login: Wed Dec 13 22:20:28 JST 2000 on ttyS0 Linux hackkit 2.6.22.7 #334 Tue Sep 30 22:14:38 JST 2008 armv5tejl 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. No directory, logging in with HOME=/ guest@hackkit:/$
guest@hackkit:/$ su - root Password: hack(画面には表示されません) hackkit:~#root のパスワードも hack です。
hackkit:~# date Sat May 6 04:15:24 JST 2000 hackkit:~#このように時計が狂っている場合は、手動で時計を合わせます。
hackkit:~# date 122112552008 Sun Dec 21 12:55:00 JST 2008 hackkit:~# date Sun Dec 21 12:55:01 JST 2008 hackkit:~#この例では 12 月 21 日 12 時 55 分 2008 年 に合わせています。
hackkit:~# passwd root Enter new UNIX password: (新しいパスワード) Retype new UNIX password: (もう一度新しいパスワード) passwd: password updated successfully hackkit:~#変更後は、もう1つログインし、
guest@hackkit:/$ su - root Password: (新しいパスワード) hackkit:~#で root になれることを確認しておくと良いでしょう。
hackkit:~# addgroup yamasita Adding group `yamasita' (GID 1001) ... Done. hackkit:~#
hackkit:~# mkdir /home/yamasita hackkit:~#
hackkit:~# adduser --home /home/yamasita/yasunari --ingroup yamasita yasunari Adding user `yasunari'... Adding new user `yasunari' (1001) with group `yamasita'. Creating home directory `/home/yamasita/yasunari'. Copying files from `/etc/skel' Enter new UNIX password: (パスワード) Retype new UNIX password: (もう一度パスワード) passwd: password updated successfully Changing the user information for yasunari Enter the new value, or press ENTER for the default Full Name []: Yasunari Yamashita Room Number []: [Enter] Work Phone []: [Enter] Home Phone []: [Enter] Other []: Is the information correct? [y/N] y hackkit:~#
Debian GNU/Linux lenny/sid hackkit login: yasunari Password: (パスワード) Linux hackkit 2.6.22.7 #334 Tue Sep 30 22:14:38 JST 2008 armv5tejl 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@hackkit:~$ su - root Password: パスワード hackkit:~# deluser guest Removing user `guest' ... Warning: group `guest' has no more members. Done. hackkit:~#
インストール直後だけではなく、時々実行すると良いでしょう。
hackkit:~# apt-get update Get:1 http://security.debian.org lenny/updates Release.gpg [189B] Get:2 http://security.debian.org lenny/updates Release [40.8kB] Ign http://security.debian.org lenny/updates/main Packages/DiffIndex Ign http://security.debian.org lenny/updates/main Sources/DiffIndex Get:3 http://security.debian.org lenny/updates/main Packages [11.3kB] Get:4 http://security.debian.org lenny/updates/main Sources [4554B] Get:5 http://ftp.jp.debian.org lenny Release.gpg [189B] Get:6 http://ftp.jp.debian.org lenny Release [74.5kB] Get:7 http://ftp.jp.debian.org lenny/main Packages/DiffIndex [2038B] Get:8 http://ftp.jp.debian.org lenny/main Sources/DiffIndex [2038B] : : Get:70 http://ftp.jp.debian.org lenny/main 2008-12-20-0830.37.pdiff [6761B] Get:71 http://ftp.jp.debian.org lenny/main 2008-12-20-0830.37.pdiff [6761B] Fetched 211kB in 4min6s (854B/s) Reading package lists... Done hackkit:~#
hackkit:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: base-files 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 62.1kB of archives. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://ftp.jp.debian.org lenny/main base-files 5 [62.1kB] Fetched 62.1kB in 1s (37.2kB/s) (Reading database ... 8600 files and directories currently installed.) Preparing to replace base-files 4.0.6 (using .../base-files_5_armel.deb) ... Unpacking replacement base-files ... Processing triggers for man-db ... Setting up base-files (5) ... Installing new version of config file /etc/debian_version ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... hackkit:~#