login as: root
root@192.168.1.225's password:
/ # ls -al
drwxr-xr-x 19 root root 4096 Jan 1 01:00 .
drwxr-xr-x 19 root root 4096 Jan 1 01:00 ..
-rw-r--r-- 1 root root 267 Jan 1 01:19 .ash_history
-rw------- 1 root root 1024 Jan 1 01:00 .rnd
lrwxrwxrwx 1 root root 16 Jan 1 01:00 .ssh -> ../../rw_fs/.ssh
drwxr-xr-x 2 root root 4096 Jan 1 01:04 bin
drwxr-xr-x 2 root root 4096 Jan 1 01:04 boot
-rw-r--r-- 1 root root 1861 Jan 1 01:01 boot.log
drwxrwxr-x 5 root root 8192 Jan 1 01:00 dev
drwxrwxrwx 11 root root 4096 Jan 1 01:00 etc
drwxrwxrwx 2 root root 4096 Jan 1 01:00 lacie-boot
drwxr-xr-x 2 root root 4096 Jan 1 1970 lib
lrwxrwxrwx 1 root root 11 Feb 9 2009 linuxrc -> bin/busybox
drwx------ 2 root root 16384 Jan 3 2008 lost+found
lrwxrwxrwx 1 root root 14 Jan 1 01:00 mnt -> /rw_fs/tmp/mnt
drwxr-xr-x 2 root root 4096 Aug 27 2008 nowhere
drwxrwxrwx 10 root root 4096 Sep 7 2011 opt
dr-xr-xr-x 60 root root 0 Jan 1 01:00 proc
drwxr-xr-x 2 root root 4096 Jan 3 2008 root
drwxrwxrwx 8 nobody nobody 1024 Jan 1 01:00 rw_fs
drwxr-xr-x 2 root root 4096 Jan 1 1970 sbin
drwxrwxrwx 3 root root 4096 Nov 30 1999 share
drwxr-xr-x 12 root root 0 Jan 1 01:00 sys
lrwxrwxrwx 1 root root 10 Jan 1 01:00 tmp -> /rw_fs/tmp
drwxrwxr-x 19 root root 4096 Jan 1 01:00 usr
drwxr-xr-x 4 root root 4096 Jan 1 01:00 var
/ #
login as: root
root@192.168.1.225's password:
/ # ls -al
drwxr-xr-x 19 root root 4096 Jan 1 01:00 .
drwxr-xr-x 19 root root 4096 Jan 1 01:00 ..
-rw-r--r-- 1 root root 267 Jan 1 01:19 .ash_history
-rw------- 1 root root 1024 Jan 1 01:00 .rnd
lrwxrwxrwx 1 root root 16 Jan 1 01:00 .ssh -> ../../rw_fs/.ssh
drwxr-xr-x 2 root root 4096 Jan 1 01:04 bin
drwxr-xr-x 2 root root 4096 Jan 1 01:04 boot
-rw-r--r-- 1 root root 1861 Jan 1 01:01 boot.log
drwxrwxr-x 5 root root 8192 Jan 1 01:00 dev
drwxrwxrwx 11 root root 4096 Jan 1 01:00 etc
drwxrwxrwx 2 root root 4096 Jan 1 01:00 lacie-boot
drwxr-xr-x 2 root root 4096 Jan 1 1970 lib
lrwxrwxrwx 1 root root 11 Feb 9 2009 linuxrc -> bin/busybox
drwx------ 2 root root 16384 Jan 3 2008 lost+found
lrwxrwxrwx 1 root root 14 Jan 1 01:00 mnt -> /rw_fs/tmp/mnt
drwxr-xr-x 2 root root 4096 Aug 27 2008 nowhere
drwxrwxrwx 10 root root 4096 Sep 7 2011 opt
dr-xr-xr-x 60 root root 0 Jan 1 01:00 proc
drwxr-xr-x 2 root root 4096 Jan 3 2008 root
drwxrwxrwx 8 nobody nobody 1024 Jan 1 01:00 rw_fs
drwxr-xr-x 2 root root 4096 Jan 1 1970 sbin
drwxrwxrwx 3 root root 4096 Nov 30 1999 share
drwxr-xr-x 12 root root 0 Jan 1 01:00 sys
lrwxrwxrwx 1 root root 10 Jan 1 01:00 tmp -> /rw_fs/tmp
drwxrwxr-x 19 root root 4096 Jan 1 01:00 usr
drwxr-xr-x 4 root root 4096 Jan 1 01:00 var
/ # cat /etc/init.d/rcS|grep sda1boot
if [[ -f /lacie-boot/sda1boot || -f /lacie-boot/sda2boot ]]
if [ -f /lacie-boot/sda1boot ]
# used if no file with name /lacie-boot/sda1boot or /lacie-boot/sda2boot is found
/ # / # cat /etc/init.d/rcS|grep sda1boot
-sh: /: Permission denied
/ # if [[ -f /lacie-boot/sda1boot || -f /lacie-boot/sda2boot ]]
> if [ -f /lacie-boot/sda1boot ]
> # used if no file with name /lacie-boot/sda1boot or /lacie-boot/sda2boot is fo
und
>