About /bin/csh

RW fbsd06 at mlists.homeunix.com
Sat Jun 2 16:48:29 UTC 2007


On Sat, 2 Jun 2007 16:43:23 +0200
Sereno Ternullo <serenoternullo at virgilio.it> wrote:

> Hi folks, 
> i noticed that the root's default shell, /bin/csh is not statically
> linked:
> 
> [sereno at FreeBSD ~]$ ldd /bin/csh
> /bin/csh:
>         libncurses.so.6 => /lib/libncurses.so.6 (0x280bd000)
>         libcrypt.so.3 => /lib/libcrypt.so.3 (0x280fc000)
>         libc.so.6 => /lib/libc.so.6 (0x28114000)
> 
> What might happen if something goes wrong with ncurses, crypt and c
> libs ? Might I login into my system ?

They're all installed, like /bin/csh, as part of the base system, and in
a normal install they are all on the root partition. I don't see why
there is any particular risk here.


More information about the freebsd-questions mailing list