Quote:
Originally Posted by twobob
[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.)