* Nathaniel Smith said: > Darn it, you're right. The problem is that the execute sequence actually > goes something like call ld-linux.so.2, and tell it to load bash. If > ld-linux.so.2 exists, and nothing else does, then you get: > ./bash: error in loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory > If ld-linux.so.2 doesn't exist either, then you get the behaviour I > originally described. Exactly. See the excecve(2) manpage for more details on it. > This is annoying. It also means that my sulogin fix is useless. Ugh. > However, the sulogin fix isn't needed if we can figure out some way to get > sash to exec bash only if possible, thereby allowing us to set root's shell > to sash without annoying people. What about my proposal in previous mail? The one about the wrapper?
Attachment:
pgpATW5z6Qm7A.pgp
Description: PGP signature