Bay Networks 6300 Supplement Manual page 357

Supplement to the remote annex administrator’s guide for unix
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

Book A
Remote Annex 6300 Supplement to the Remote Annex Administrator's Guide for UNIX
The install_dir is defined in the file /annex_root/src/make.config with
the leading quote supplied by the makefile. Since the trailing quote is
required by the two strings, double quote the names for the new password
and temporary files.
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")
#define ACP_GROUP(str)\
strcpy(str,"/etc/group")
#else
#define ACP_SHADOW(str)\
sprintf(str,"%s/acp_shadow",install_dir)
#define ACP_STMP(str)\
sprintf(str,"%s/acp_stmp",install_dir)
#define ACP_LOCKFILE(str)\
sprintf(str,"%s/.pwd.lock",install_dir)
#define ACP_GROUP(str)\
sprintf(str,"%s/acp_group",install_dir)
#endif
/*
define pathname of accounting file*/
#define ACP_LOGFILE(str) \
sprintf(str,"%s/acp_logfile",install_dir)
/*
define pathname for restrictions file*/
(continued on next page)
Chapter 15
Using RA 6300 Security
A-329

Advertisement

Table of Contents
loading

Table of Contents