Sereno Ternullo escribió:
Hi folks,
i noticed that the root's default shell, /bin/csh is not statically linked:
[EMAIL PROTECTED] ~]$ 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 ?
Hello Sereno,
If such accidents happen, you can boot into single user mode, where you
will be prompted to specify the shell. Here, you can use the static
versions, located in /rescue:
[EMAIL PROTECTED] ~]$ file /rescue/sh
/rescue/sh: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD),
statically linked, stripped
[EMAIL PROTECTED] ~]$ file /rescue/csh
/rescue/csh: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD),
statically linked, stripped
[EMAIL PROTECTED] ~]$ file /rescue/tcsh
/rescue/tcsh: ELF 64-bit LSB executable, AMD x86-64, version 1
(FreeBSD), statically linked, stripped
Cheers,
--
Gabor Kovesdan
FreeBSD Volunteer
EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED]
WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"