Customization
/etc/xinet.d
/sa2/conf
/sa2/web/admin
/sa2/sbin
/var/named
/var/spool/cron
Template Perl programming interface
The template processor has a Perl object-oriented interface and a command line
wrapper. Each requires two parameters: filename and mode.
The usage statement of the proctmpl command-line wrapper is:
usage: /sa2/bin/template -f <filename> -m <octal mode> -o <owner>
The parameter "filename" is the name of the configuration file to be regenerated, and
"octal mode" and "owner" are the file access permission modes and owner of the file
being regenerated.
Output from the command-line wrapper is generated to STDOUT so that a redirect is
required to overwrite the current configuration file.
Call it as shown below:
[/sa2/bin]#
root > /etc/sysconfig/ipchains
./template -f /etc/sysconfig/ipchains -m 700 –o
Template-based configuration files
key3
key4
keys
mac_accept
multicast_rate
network_name
reject_any
station_name
transmit_key_id
ipop3
telnet
wu-ftpd
lcdkbd.conf
htaccess
ifdown-local
ifup
ifup-local
domain
domain.rev
root
23
Need help?
Do you have a question about the SG20 - Magnia - Web Server and is the answer not in the manual?
Questions and answers