
A-329
Chapter 15 Using RA 6300 Security
Remote Annex 6300 Supplement to the Remote Annex Administrator’s Guide for UNIX
Book A
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)
Содержание 6300
Страница 4: ...Remote Annex 6300 Supplement to the Remote Annex Administrator s Guide for UNIX iv ...
Страница 18: ...Remote Annex 6300 Supplement to the Remote Annex Administrator s Guide for UNIX Contents xviii ...
Страница 20: ...Remote Annex 6300 Supplement to the Remote Annex Administrator s Guide for UNIX Figures xx ...
Страница 24: ...Remote Annex 6300 Supplement to the Remote Annex Administrator s Guide for UNIX Tables xxiv ...
Страница 114: ...Remote Annex 6300 Supplement to the Remote Annex Administrator s Guide for UNIX Chapter 5 Modems A 86 Book A ...
Страница 236: ...Remote Annex 6300 Supplement to the Remote Annex Administrator s Guide for UNIX Chapter 13 Printers A 208 Book A ...
Страница 484: ...Remote Annex 6300 Supplement to the Remote Annex Administrator s Guide for UNIX Chapter 1 na Commands C 28 Book C ...