Securing-Optimizing-RH-Linux-1_2_250
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca
© Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ®
250
define(`confLIBSEARCH', `db bind resolv 44bsd')
To read:
define(`confLIBSEARCH', `db1 bind resolv 44bsd')
This change specifies the new Berkeley DB package installed on Linux.
Step 3
Edit the makemap.c file (vi +30 makemap/makemap.c) and change the line:
# include <db.h>
To read:
# include <db_185.h>
Edit the map.c file (vi +29 src/map.c) and change the line:
# include <db.h>
To read:
# include <db_185.h>
Edit the udb.c file (vi +28 src/udb.c) and change the line:
# include <db.h>
To read:
# include <db_185.h>
Edit the praliases.c file (vi +37 praliases/praliases.c) and change the line:
# include <db.h>
To read:
# include <db_185.h>
These four changes above specify the version (include <db_185.h>) of Berkeley DB package
installed on Linux.
Step 4
Edit the Linux file (vi BuildTools/OS/Linux) and remove the following lines:
define(`confSTDIR', `/etc')
define(`confHFDIR', `/usr/lib')
define(`confDEPEND_TYPE', `CC-M')
define(`confMANROOT', `/usr/man/man')
Edit the Linux file (vi BuildTools/OS/Linux) and add now the following lines:
define(`confSTDIR', `/var/log')
define(`confHFDIR', `/usr/lib')
define(`confDEPEND_TYPE', `CC-M')
define(`confMANROOT', `/usr/man/man')
define(`confSBINGRP', `root')
define(`confSBINMODE', `6755')
define(`confEBINDIR', `/usr/sbin')