View Single Post
Old 09-20-2013, 11:53 PM   #44
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Hmmm... I don't know. For me, it works as it should:

Code:
$ ssh root@kindle
[root@kindle root]# mntroot rw
system: I mntroot:def:Making root filesystem writeable
[root@kindle root]# grep ^root /etc/passwd 
root:x:0:0:root:/tmp/root:/bin/sh
[root@kindle root]# sed -i -e 's/\/tmp\/root/\/var\/tmp\/root/' /etc/passwd 
[root@kindle root]# grep ^root /etc/passwd 
root:x:0:0:root:/var/tmp/root:/bin/sh
[root@kindle root]# mntroot ro
system: I mntroot:def:Making root filesystem read-only
[root@kindle root]# echo $HOME
/tmp/root
[root@kindle root]# ^D
Connection to kindle closed.
$ ssh root@kindle
[root@kindle root]# echo $HOME
/var/tmp/root
ixtab is offline   Reply With Quote