Bay Networks 5390 Administering page 498

Communications server
Hide thumbs Also See for 5390:
Table of Contents

Advertisement

Using Model 5390 Security
If you decide to use either an existing system or a network-wide password file instead of the
acp_passwd file, change the following lines in the acp_policy.h file:
#define ACP_PASSWD (str) \
sprintf(str,"%s/acp_passwd",install_dir)
#define ACP_PTMP (str) \
sprintf(str,"%s/acp_ptmp",install_dir)
To change only the file name:
#define ACP_PASSWD (str) \
sprintf(str,"%s/new_filename",install_dir)
#define ACP_PTMP (str) \
sprintf(str,"%s/new_tempfile",install_dir)
To change the full path name:
#define ACP_PASSWD (str) \
sprintf(str,"new_path/new_filename")
#define ACP_PTMP (str) \
sprintf(str,"new_path/new_tempfile")
The new_filename is the name of the new password file, and the new_tempfile is a temporary file
used by the ch_passwd command. Because you do not need the temporary file if you are using an
existing system file, comment out the line for the temporary file.
The install_dir is defined in the file /annex_root/src/make.config with the leading quote supplied
by the makefile. Because the trailing quote is required by the two strings, place the new password
name and temporary file names in double quotes.
You can change the names of several other files in the acp_policy.h file in the same way:
#ifdef NATIVESHADOW
#define ACP_SHADOW(str)\
strcpy(str,"/etc/shadow")
#define ACP_STMP(str)\
strcpy(str,"/etc/shadow.tmp")
#define ACP_LOCKFILE(str)\
strcpy(str,"/etc/.pwd.lock")
#else
#define ACP_SHADOW(str)\
sprintf(str,"%s/acp_shadow",install_dir)
A15-78
893-741-B

Advertisement

Table of Contents
loading

Table of Contents