This files_system_local_objects.cfg example specifies important local system files, together with their desired file attributes (for example, their ownerships and permissions). This files_system_local_objects.cfg file is #include'd by the parent objects.cfg file (see the FilesSystem stanza).
///////////////////////////////////////////////////////////////////////////////
//
// files_system_local_objects.cfg
//
///////////////////////////////////////////////////////////////////////////////
#if vienna | nantes | berlin2 | warsaw | athens2 | athens4 | athens3 | [...]
/etc/hostname.hme0 -rw-r--r-- 644 root root
#endif
#if berlin2 | warsaw | athens2 | athens4 | athens3 | athens1 | milan | [...]
/etc/hostname.hme1 -rw-r--r-- 644 root root
#endif
#if berlin | calais | brussels | egbdfmus | egbdfmus2 | cologne | [...]
/etc/hostname.le0 -rw-r--r-- 644 root root
#elif munich
/etc/hostname.le0 -rw-r--r-- 644 root other
#endif
#if egbdfmus | egbdfmus2 | brussels
/etc/hostname.le1 -rw-r--r-- 644 root root
//#elif munich
// /etc/hostname.le1 -rw-r--r-- 644 root other
#endif
//#if sparediskserver
// /etc/hostname.le2 -rw-r--r-- 644 root root
//#endif
#if tcpd
# if solaris
/etc/hosts.allow -rw-r----- 640 root other
/etc/hosts.deny -rw-r----- 640 root other
# elif sunos
/etc/hosts.allow -rw-r----- 640 root staff
/etc/hosts.deny -rw-r----- 640 root staff
# elif linux
# if tirana
/etc/hosts.allow -rw-r----- 640 root root
/etc/hosts.deny -rw-r----- 640 root root
# endif
# endif
#endif // tcpd
#if sudo
/etc/sudoers -r-------- 400 root other
#endif
/*
#if aliasmgr
/etc/mail/classalias -rw-r--r-- 644 root other
/etc/mail/ali1 -rw-r--r-- 644 root other
/etc/mail/ali2 -rw-r--r-- 644 root other
/etc/mail/ali3 -rw-r--r-- 644 root other
/etc/mail/ali4 -rw-r--r-- 644 root other
#endif
*/
#if listmgr
/etc/rc3.d/S82listmgr -rwxr--r-- 744 root sys
#endif
#if tirana
/home/mailman/lists/openroad-users drwxrwsr-x 775 root mailman
#endif
#if nismaster
/etc/NIS/acctsaliases -rw-r--r-- 644 root root
/etc/NIS/aliases -rw-r--r-- 644 root root
/etc/NIS/auto.home -rw-r--r-- 644 root root
/etc/NIS/hosts -rw-r--r-- 644 root root
/etc/NIS/passwd -rw-r--r-- 644 root root
/etc/NIS/group -rw-r--r-- 644 root root
/etc/NIS/netgroup -rw-r--r-- 644 root root
#endif
#if linux
/root/.shosts -rw------- 600 root root
#elsif solaris
/root/.shosts -rw------- 600 root root
/root/.rhosts -rw------- 600 root root
#elsif sunos
/root/.rhosts -rw------- 600 root other
#endif
///////////////////////////////////////////////////////////////////////////////
// rc?.d files
#if solaris
# if openssh
/etc/rc3.d/S24opensshd -rwxr--r-- 744 root sys
# if ! no_ssh
/etc/rc3.d/xS24sshd -rwxr--r-- 744 root sys
# endif
# else
# if ! no_ssh
/etc/rc3.d/S24sshd -rwxr--r-- 744 root sys
# endif
/etc/rc3.d/xS24opensshd -rwxr--r-- 744 root sys
# endif
/etc/rc3.d/S27ntpd -rwxr--r-- 744 root sys
/etc/rc3.d/S90pikt -rwx------ 700 root sys
# if vienna | nantes | milan // | milan1
/etc/rc3.d/S80acctmgr -rwxr--r-- 744 root sys
# endif
# if warsaw
// /etc/rc3.d/S28msqld -rwxr--r-- 744 root sys
/etc/rc3.d/S32soc -rwxr--r-- 744 root sys
/etc/rc3.d/S40rmpid -rwxr--r-- 744 root sys
# endif
# if warsaw | webapp
/etc/rc3.d/S99ns-servers -rwxr--r-- 744 root sys
# endif
# if vienna // sacomp; should use S31sacomp per the following?
/etc/rc3.d/S78startsmb -rwxr--r-- 744 root sys
# endif
# if warsaw | webapp
/etc/rc3.d/S31sacomp -rwxr--r-- 744 root sys
# endif
# if athens2 | athens4 /* | athens1 | athens3 */ // | egbdfcomp | warsaw
/etc/rc3.d/S50ingres lrwxrwxrwx 777 root other
# endif
# if disksuite
/etc/rc3.d/S25mdlogd lrwxrwxrwx 777 root other
# endif
# if calais
/etc/rc3.d/S28amdir -rwxr--r-- 744 root sys
/etc/rc3.d/S28postfix -rwxr--r-- 744 root sys
# endif
# if brussels | egbdfmus | egbdfmus2 | egbdfgreith | sheffield
/etc/rc3.d/S91swapadd -rwxr--r-- 744 root sys
# endif
# if egbdfmus
/etc/rc3.d/S30mathematica -rwxr--r-- 744 root sys
/etc/rc3.d/S31spss -rwxr--r-- 744 root sys
# endif
# if sheffield
/etc/rc3.d/S28gauss -rwxr--r-- 744 root sys
# endif
# if hamburg
/etc/rc3.d/S50apache -rwxr--r-- 744 root sys
# endif
/* these files are mv'ed to xS??* by FileWarnChk; see alarms.cfg and
objects/files_unwanted_objects.cfg
/etc/rc3.d/S50apache -rwxr--r-- 744 root sys
/etc/rc3.d/S76snmpdx -rwxr--r-- 744 root sys
/etc/rc3.d/S77dmi -rwxr--r-- 744 root sys
/etc/rc3.d/S80mipagent -rwxr--r-- 744 root sys
# if vm
/etc/rc2.d/S96vmsa-server -rwxr--r-- 744 root sys
# endif
*/
# if homedirlinksys
/home/egbdfmus lrwxrwxrwx 777 root other
/home/egbdfperf lrwxrwxrwx 777 root other
# endif
[...]
#endif // solaris
///////////////////////////////////////////////////////////////////////////////
On the piktmaster system, we would install the FilesSystem.obj file to each PIKT slave system with the command:
# piktc -iv +O FilesSystem +H all [or: ... -H downsys]
[For more examples, see Samples.]
Home |
FAQ |
News |
Intro |
Samples |
Tutorial |
Reference |
Software |
Authors |
Licensing |
SiteSearch
Links |
SiteIndex |
Pikt-Users |
Pikt-Workers |
Contribute |
ContactUs |
Top of Page
Page best viewed at 1024x768.
Page last updated 2005-06-22.
This site is
PIKT®
powered.
PIKT® is a registered trademark of the University of Chicago.
Copyright © 1998-2005 Robert Osterlund. All rights reserved.
|