kup:~# mkdir /tmp/sdb2 kup:~# mount /dev/sdb2 /tmp/sdb2 kup:~#
kup:~# cd /tmp/sdb2/etc kup:/tmp/sdb2/etc# mv shadow shadow.orig kup:/tmp/sdb2/etc# cp shadow.orig shadow kup:/tmp/sdb2/etc# ls -l shadow* -rw-r--r-- 1 root root 370 Mar 2 17:37 shadow -rw-rw-r-- 1 root root 370 Jan 9 10:30 shadow.orig kup:/tmp/sdb2/etc#It's wrong permission.
kup:/tmp/sdb2/etc# vi shadow : kup:/tmp/sdb2/etc# diff -c shadow.orig shadow *** shadow.orig Wed Jan 9 10:30:43 2008 --- shadow Sun Mar 2 17:38:44 2008 *************** *** 1,4 **** ! root:(encrypted password):11009:0:99999:7::: bin:*:11009:0:99999:7::: daemon:*:11009:0:99999:7::: halt:*:11009:0:99999:7::: --- 1,4 ---- ! root::11009:0:99999:7::: bin:*:11009:0:99999:7::: daemon:*:11009:0:99999:7::: halt:*:11009:0:99999:7::: kup:/tmp/sdb2/etc#
kup:/# umount /tmp/sdb2 kup:/# shutdown -h now kup:/# umount /tmp/sdb2 kup:/# shutdown -h now Broadcast message from root@kup (pts/0) (Sun Mar 2 17:40:00 2008): The system is going down for system halt NOW! kup:/# exit logout yasunari@kup:~$ exit
yasunari@sil:~$ telnet 192.168.2.203 Trying 192.168.2.203... Connected to 192.168.2.203. Escape character is '^]'. BUFFALO INC. LinkStation series LS-HGL(SUININ) LS-HGL487 login: root root@LS-HGL487:~#Done!
|
← 新型 HS-DHGL でハック de 録!!(6)録画したファイルの共有 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ シリアルコンソール / serial console |