Valentin Nechayev <[EMAIL PROTECTED]> writes:
[snip]
> 8. Disable all processes except sshd and run the following (saying generally):
> 
>    for D in /bin /sbin /etc /boot /usr/bin /usr/sbin /usr/lib /usr/libexec \
>             /usr/libdata /usr/share /usr/local /var/db
>    do
>        mv ${D} ${D}5
>        mv ${D}4 {D}
>    done
[snip]

Once you mv /usr/lib /usr/lib5, dynamicly linked executables will be
    broken, until you mv /usr/lib4 /usr/lib (I think). I think it
    would be a good idea check every tool you think you might need,
    and build a staticly linked executable if the existing executable
    isn't. Most of what you need will be staticly linked by default,
    but e.g. sshd, ftp, find, vim, are not. (If all goes as planned,
    you won't need any of those while /usr/lib is being moved, but
    ... ) (Caveat: this isn't based on experience with freebsd, it's
    based experience with linux boxen, where *everything* is typically
    staticly linked, unless someone rebuilt tools.)

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to