View Single Post
Old 09-03-2012, 12:07 PM   #56
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by twobob View Post
[root@kindle root]# su -s/mnt/us/bin/sh
[root@kindle root]# su --version


[root@kindle root]# exit
[root@kindle root]# su
[root@kindle root]# su --version



hmm... so it's the fact that the underlying sh is being attached I think...

does more thinking..
That may not be a "login" shell - try:
su -l
or
su -
whatever the option is to specify a login shell with bb su.

(Some of the fixed name init files are only read by a login shell, others are read by both non-login and login shells.)
knc1 is offline   Reply With Quote