Chroot'ing FrontPage® - requirements
The libraries, binaries, and devices required vary from platform to platform as well as upon particular versions of the FrontPage Extensions.
Tools such as 'ldd' can be useful in making a start upon identifying them. Your system tracer ('truss', 'strace', 'tusc' etc.) can also be used to determine which external programs, libraries, devices and files are being accessed in a running system.
The required executables and libraries should be copied into place. Device files can be created using the 'mknod' command using major and minor numbers taken from instances of the device the /dev
As a starting point here are some examples of files we have found to be required on particular platforms. More or less may be required depending upon variations in the OS or the version of FrontPage Extensions downloaded.
FrontPage 4.0 on Solaris 2.7
- /bin/sh
- /bin/find
- /dev/null (mknod /dev/null c 13 2)
- /dev/zero (mknod /dev/null c 13 12)
- /usr/lib/
- /usr/lib/libc.so.1
- /usr/lib/libdl.so.1
- /usr/lib/libm.so.1
- /usr/lib/libmp.so.2
- /usr/lib/libnsl.so.1
- /usr/lib/libsocket.so.1
- /usr/lib/ld.so.1
- /usr/lib/libgen.so.1
- /usr/local/frontpage/version4.0/*
SMTPHost option
If you are using the SMTPHost option to send mail you will also need to be able to resolve the IP of you mail server and connect to that server.
You will probably also want to resolve a FrontPage web's user ID into the user name which will be used in the From field of emails from this web.
In a basic system the following should be sufficent:
- /etc/nsswitch.conf
- /etc/resolv.conf
- /etc/passwd
- /etc/hosts
- /etc/netconfig
- /usr/lib/nss_files.so.1
- /usr/lib/nss_dns.so.1
- /usr/lib/libresolv.so.2