View Single Post
Old 09-03-2012, 12:28 PM   #60
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
okay. as usual - you were right.

*looks at picture one *

it's a tidied up and pared down view of htop with the noise removed.

we can see two sh processes - both mine - one for htop, one for the testing console.

a) note knc1's rightness:

Quote:
me@dev ~ $ ssh root@k
#################################################
# N O T I C E * N O T I C E * N O T I C E #
#################################################
Rootfs is mounted read-only. Invoke mntroot rw to
switch back to a writable rootfs.
#################################################
[root@kindle root]# su -h
BusyBox v1.20.2 (2012-09-03 02:06:04 BST) multi-call binary.

Usage: su [OPTIONS] [-] [USER]

Run shell under USER (by default, root)

-,-l Clear environment, run shell as login shell
duh. oh yeah. so we:

[root@kindle root]# su -l

*looks at picture two*

ah yes. a child is born, right PPID, new PID.

Let's test if the .alias was processed.

[root@kindle root]# su --version
Quote:
su: unrecognized option `--version'
BusyBox v1.20.2 (2012-09-03 02:06:04 BST) multi-call binary.
Happy days.

Now... need to convince ALL subshells to spawn as -l then...
or something. *resumes reading*
Attached Thumbnails
Click image for larger version

Name:	Selection_056.png
Views:	302
Size:	102.3 KB
ID:	91762   Click image for larger version

Name:	Selection_058.png
Views:	304
Size:	104.7 KB
ID:	91763  
twobob is offline   Reply With Quote