PIKT

Samples: System Files

PIKT Logo
Home FAQ News Intro Samples Tutorial Reference Software Authors Licensing SiteSearch


This FilesSystem.obj example specifies important system files (in this case for a Solaris system; other hosts would have their own FilesSystem.obj files customized for their operating system), together with their desired file attributes (for example, their ownerships and permissions).  This FilesSystem.obj file is referenced by the SystemFileNotExistEmergency and SystemFileSizeChangeUrgent scripts, and sources from the files_system_solaris_objects.cfg, files_system_local_objects.cfg, and objects.cfg (see the FilesSystem stanza) files.

/kernel/genunix         -rwxr-xr-x      755     root    sys
/etc/system             -rw-r--r--      644     root    sys
/etc/mail/aliases       -rw-r--r--      644     root    bin
/etc/auto_direct        -rw-r--r--      644     root    bin
/etc/auto_home          -rw-r--r--      644     root    bin
/etc/auto_master        -rw-r--r--      644     root    bin
/etc/defaultdomain      -rw-r--r--      644     root    root
/etc/defaultrouter      -rw-r--r--      644     root    root
/etc/dfs/dfstab         -rw-r--r--      644     root    sys
/etc/group              -rw-r--r--      644     root    sys
/etc/hosts              lrwxrwxrwx      777     root    root
/etc/inet/hosts         -r--r--r--      444     root    sys
/etc/inittab            -rw-rw-r--      644     root    sys
/etc/inetd.conf         lrwxrwxrwx      777     root    root
/etc/inet/inetd.conf    -r--r--r--      444     root    sys
/etc/magic              -r--r--r--      444     root    bin
/etc/mnttab             -r--r--r--      444     root    root
/etc/netmasks           lrwxrwxrwx      777     root    root
/etc/inet/netmasks      -r--r--r--      444     root    sys
/etc/networks           lrwxrwxrwx      777     root    root
/etc/inet/networks      -r--r--r--      444     root    sys
/etc/nsswitch.conf      -rw-r--r--      644     root    sys
/etc/ntp.conf           -rw-r--r--      644     root    other
/etc/passwd             -rw-r--r--      644     root    sys
/etc/protocols          lrwxrwxrwx      777     root    root
/etc/inet/protocols     -r--r--r--      444     root    sys
/etc/resolv.conf        -rw-r--r--      644     root    other
/etc/rpc                -rw-r--r--      644     root    sys
/etc/mail/sendmail.cf   -r--r--r--      444     root    bin
/etc/services           lrwxrwxrwx      777     root    root
/etc/inet/services      -r--r--r--      444     root    sys
/etc/shadow             -r--------      400     root    sys
/etc/shells             -rw-r--r--      644     root    other
/etc/syslog.conf        -rw-r--r--      644     root    sys
/etc/termcap            lrwxrwxrwx      777     root    root
/usr/share/lib/termcap  -rw-r--r--      644     root    bin
/etc/ttydefs            -rw-r--r--      644     root    sys
/etc/vfstab             -rw-r--r--      644     root    sys
/usr/sbin/format        -r-x------      500     root    bin
/etc/hostname.hme0      -rw-r--r--      644     root    root
/etc/hostname.hme1      -rw-r--r--      644     root    root
/etc/hosts.allow        -rw-r-----      640     root    other
/etc/hosts.deny         -rw-r-----      640     root    other
/root/.shosts           -rw-------      600     root    root
/root/.rhosts           -rw-------      600     root    root
/etc/rc3.d/S24opensshd  -rwxr--r--      744     root    sys
/etc/rc3.d/xS24sshd     -rwxr--r--      744     root    sys
/etc/rc3.d/S27ntpd      -rwxr--r--      744     root    sys
/etc/rc3.d/S90pikt      -rwx------      700     root    sys
/etc/rc3.d/S80acctmgr   -rwxr--r--      744     root    sys
/etc/rc3.d/S78startsmb  -rwxr--r--      744     root    sys
/pikt/etc/PIKT.conf     -rw-r-----      640     root    root
/pikt/etc/piktd.conf    -rw-r-----      640     root    root
/pikt/etc/alerts        -rw-r-----      640     root    root
/pikt/etc/piktd.lock    -rw-r-----      640     root    root
/pikt/etc/piktc_svc.lock -rw-r-----     640     root    root
[...]

[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.

Computer Books at Amazon.com

Unix Power Tools
Unix Power Tools

SUSE Linux 9 Bible
SUSE Linux 9 Bible

Red Hat Enterprise Linux & Fedora Edition
Red Hat Enterprise Linux & Fedora Edition

Red Hat Linux Bible: Fedora and Enterprise Edition
Red Hat Linux Bible: Fedora and Enterprise Edition

CVS Pocket Reference
CVS Pocket Reference