Commands
Modifiers
Variables
Expressions
Input Grammar
Name Appears on Page Description
.environ environ(4) user-preference variables files for AT&T FACE .ott ott(4) FACE object architecture information .pref environ(4) user-preference variables files for AT&T FACE .rhosts hosts.equiv(4) trusted remote hosts and users .variables environ(4) user-preference variables files for AT&T FACE a.out a.out (4) Executable and Linking Format (ELF) files acct acct(4) per-process accounting file format addresses aliases(4) addresses and aliases for sendmail admin admin(4) installation defaults file aliases aliases(4) addresses and aliases for sendmail ar ar(4) archive file format archives archives(4) device header asetenv asetenv(4) ASET environment file asetmasters asetmasters(4) ASET master files audit.log audit.log(4) audit trail file audit_class audit_class(4) audit class definitions audit_control audit_control(4) control information for system audit daemon audit_data audit_data(4) current information on audit daemon audit_event audit_event(4) audit event definition and class mapping audit_user audit_user(4) per-user auditing data file bootparams bootparams(4) boot parameter data base cdtoc cdtoc(4) CD-ROM table of contents file cklist.high asetmasters(4) ASET master files cklist.low asetmasters(4) ASET master files cklist.med asetmasters(4) ASET master files clustertoc clustertoc(4) cluster table of contents description file
compver compver(4) compatible versions file copyright copyright(4) copyright information file core core(4) core image file default_fs default_fs(4) specify the default file system type for local or remote file systems depend depend(4) software dependencies file device.cfinfo device.cfinfo(4) devconfig configuration files device_allocate device_allocate(4) device_allocate file device_maps device_maps(4) device_maps file dfstab dfstab(4) file containing commands for sharing resources across a network dir dir_ufs(4) format of ufs directories dir_ufs dir_ufs(4) format of ufs directories dirent dirent(4) file system independent directory entry driver.conf driver.conf(4) driver configuration files dumpdates ufsdump(4) incremental dump format eisa sysbus(4) configuration files for ISA, EISA, and MCA bus device drivers environ environ(4) user-preference variables files for AT&T FACE ethers ethers(4) Ethernet address to hostname database or domain fbtab logindevperm(4) login-based device permissions fd fd (4) file descriptor files filehdr filehdr(4) file header for common object files format.dat format.dat (4) disk drive configuration for the format command. forward aliases(4) addresses and aliases for sendmail fs default_fs(4) specify the default file system type for local or remote file systems fs_ufs fs_ufs(4) format of a ufs file system volume fspec fspec(4) format specification in text files fstypes fstypes(4) file that registers distributed file system packages group group(4) group file holidays holidays(4) prime/nonprime table for the accounting system hosts.equiv hosts.equiv(4) trusted remote hosts and users hosts hosts(4) host name database inetd.conf inetd.conf(4) Internet servers database init.d init.d(4) initialization and termination scripts for changing init states inittab inittab(4) script for init inode fs_ufs(4) format of a ufs file system volume inode_ufs fs_ufs(4) format of a ufs file system volume
issue issue(4) issue identification file keytables keytables(4) keyboard table descriptions for loadkeys and dumpkeys krb.conf krb.conf(4) Kerberos configuration file krb.realms krb.realms(4) host to Kerberos realm translation file limits limits(4) header for implementation-specific constants loadfont loadfont(4) format of a font file used as input to the loadfont utility logindevperm logindevperm(4) login-based device permissions loginlog loginlog(4) log of failed login attempts magic magic(4) file command's magic number file mca sysbus(4) configuration files for ISA, EISA, and MCA bus device drivers mnttab mnttab(4) mounted file system table netconfig netconfig(4) network configuration database netgroup netgroup(4) list of network groups netid netid(4) netname database netmasks netmasks(4) network mask database netrc netrc(4) file for ftp remote login data networks networks(4) network name database nisfiles nisfiles(4) NIS+ database files and directory structure nsswitch.conf nsswitch.conf(4) configuration file for the name-service switch order order(4) package installation order description file ott ott(4) FACE object architecture information packagetoc packagetoc(4) package table of contents description file passwd passwd(4) password file path_to_inst path_to_inst(4) device instance number file pathalias pathalias(4) alias file for FACE phones phones(4) remote host phone number database pkginfo pkginfo(4) package characteristics file pkgmap pkgmap(4) package contents description file plot plot(4B) graphics interface pref environ(4) user-preference variables files for AT&T FACE proc proc (4) process file system profile profile (4) setting up an environment for user at login time protocols protocols(4) protocol name database prototype prototype(4) package information file pseudo pseudo(4) configuration files for pseudo device drivers publickey publickey(4) public key database
remote remote(4) remote host description file resolv.conf resolv.conf(4) configuration file for name server routines rhosts hosts.equiv(4) trusted remote hosts and users rmmount.conf rmmount.conf(4) removable media mounter configuration file rmtab rmtab(4) remote mounted file system table routing routing(4) system support for packet network routing rpc rpc(4) rpc program number data base rpld.conf rpld.conf(4) Remote Program Load (RPL) server configuration file rt_dptbl rt_dptbl(4) real-time dispatcher parameter table sbus sbus(4) configuration files for SBus device drivers sccsfile sccsfile(4) format of an SCCS history file scsi scsi(4) configuration files for SCSI target drivers services services(4) Internet services and aliases shadow shadow(4) shadow password file sharetab sharetab(4) shared file system table space space(4) disk space requirement file strftime strftime(4) language specific strings sysbus sysbus(4) configuration files for ISA, EISA, and MCA bus device drivers syslog.conf syslog.conf(4) configuration file for syslogd system log daemon system system(4) system configuration information file term term(4) format of compiled term file terminfo terminfo (4) terminal capability database TIMEZONE TIMEZONE(4) set default system time zone and locale timezone timezone(4) default timezone data base ts_dptbl ts_dptbl(4) time-sharing dispatcher parameter table ttydefs ttydefs(4) file contains terminal line settings information for ttymon ttysrch ttysrch(4) directory search list for ttyname tune.high asetmasters(4) ASET master files tune.low asetmasters(4) ASET master files tune.med asetmasters(4) ASET master files ufsdump ufsdump(4) incremental dump format uid_aliases asetmasters(4) ASET master files unistd unistd(4) header for symbolic constants updaters updaters(4) configuration file for NIS updating utmp utmp(4) utmp and wtmp entry formats utmpx utmpx(4) utmpx and wtmpx entry formats variables environ(4) user-preference variables files for AT&T FACE vfstab vfstab(4) table of file system defaults
vold.conf vold.conf(4) Volume Management configuration file wtmp utmp(4) utmp and wtmp entry formats wtmpx utmpx(4) utmpx and wtmpx entry formats ypfiles ypfiles(4) Network Information Service Version 2, formerly knows as YP
Name Appears on Page Description
.environ environ(4) user-preference variables files for AT&T FACE .ott ott(4) FACE object architecture information .pref environ(4) user-preference variables files for AT&T FACE .rhosts hosts.equiv(4) trusted remote hosts and users .variables environ(4) user-preference variables files for AT&T FACE a.out a.out (4) Executable and Linking Format (ELF) files acct acct(4) per-process accounting file format addresses aliases(4) addresses and aliases for sendmail admin admin(4) installation defaults file aliases aliases(4) addresses and aliases for sendmail ar ar(4) archive file format archives archives(4) device header asetenv asetenv(4) ASET environment file asetmasters asetmasters(4) ASET master files audit.log audit.log(4) audit trail file audit_class audit_class(4) audit class definitions audit_control audit_control(4) control information for system audit daemon audit_data audit_data(4) current information on audit daemon audit_event audit_event(4) audit event definition and class mapping audit_user audit_user(4) per-user auditing data file bootparams bootparams(4) boot parameter data base cdtoc cdtoc(4) CD-ROM table of contents file cklist.high asetmasters(4) ASET master files cklist.low asetmasters(4) ASET master files cklist.med asetmasters(4) ASET master files clustertoc clustertoc(4) cluster table of contents description file
compver compver(4) compatible versions file copyright copyright(4) copyright information file core core(4) core image file default_fs default_fs(4) specify the default file system type for local or remote file systems depend depend(4) software dependencies file device.cfinfo device.cfinfo(4) devconfig configuration files device_allocate device_allocate(4) device_allocate file device_maps device_maps(4) device_maps file dfstab dfstab(4) file containing commands for sharing resources across a network dir dir_ufs(4) format of ufs directories dir_ufs dir_ufs(4) format of ufs directories dirent dirent(4) file system independent directory entry driver.conf driver.conf(4) driver configuration files dumpdates ufsdump(4) incremental dump format eisa sysbus(4) configuration files for ISA, EISA, and MCA bus device drivers environ environ(4) user-preference variables files for AT&T FACE ethers ethers(4) Ethernet address to hostname database or domain fbtab logindevperm(4) login-based device permissions fd fd (4) file descriptor files filehdr filehdr(4) file header for common object files format.dat format.dat (4) disk drive configuration for the format command. forward aliases(4) addresses and aliases for sendmail fs default_fs(4) specify the default file system type for local or remote file systems fs_ufs fs_ufs(4) format of a ufs file system volume fspec fspec(4) format specification in text files fstypes fstypes(4) file that registers distributed file system packages group group(4) group file holidays holidays(4) prime/nonprime table for the accounting system hosts.equiv hosts.equiv(4) trusted remote hosts and users hosts hosts(4) host name database inetd.conf inetd.conf(4) Internet servers database init.d init.d(4) initialization and termination scripts for changing init states inittab inittab(4) script for init inode fs_ufs(4) format of a ufs file system volume inode_ufs fs_ufs(4) format of a ufs file system volume
issue issue(4) issue identification file keytables keytables(4) keyboard table descriptions for loadkeys and dumpkeys krb.conf krb.conf(4) Kerberos configuration file krb.realms krb.realms(4) host to Kerberos realm translation file limits limits(4) header for implementation-specific constants loadfont loadfont(4) format of a font file used as input to the loadfont utility logindevperm logindevperm(4) login-based device permissions loginlog loginlog(4) log of failed login attempts magic magic(4) file command's magic number file mca sysbus(4) configuration files for ISA, EISA, and MCA bus device drivers mnttab mnttab(4) mounted file system table netconfig netconfig(4) network configuration database netgroup netgroup(4) list of network groups netid netid(4) netname database netmasks netmasks(4) network mask database netrc netrc(4) file for ftp remote login data networks networks(4) network name database nisfiles nisfiles(4) NIS+ database files and directory structure nsswitch.conf nsswitch.conf(4) configuration file for the name-service switch order order(4) package installation order description file ott ott(4) FACE object architecture information packagetoc packagetoc(4) package table of contents description file passwd passwd(4) password file path_to_inst path_to_inst(4) device instance number file pathalias pathalias(4) alias file for FACE phones phones(4) remote host phone number database pkginfo pkginfo(4) package characteristics file pkgmap pkgmap(4) package contents description file plot plot(4B) graphics interface pref environ(4) user-preference variables files for AT&T FACE proc proc (4) process file system profile profile (4) setting up an environment for user at login time protocols protocols(4) protocol name database prototype prototype(4) package information file pseudo pseudo(4) configuration files for pseudo device drivers publickey publickey(4) public key database
remote remote(4) remote host description file resolv.conf resolv.conf(4) configuration file for name server routines rhosts hosts.equiv(4) trusted remote hosts and users rmmount.conf rmmount.conf(4) removable media mounter configuration file rmtab rmtab(4) remote mounted file system table routing routing(4) system support for packet network routing rpc rpc(4) rpc program number data base rpld.conf rpld.conf(4) Remote Program Load (RPL) server configuration file rt_dptbl rt_dptbl(4) real-time dispatcher parameter table sbus sbus(4) configuration files for SBus device drivers sccsfile sccsfile(4) format of an SCCS history file scsi scsi(4) configuration files for SCSI target drivers services services(4) Internet services and aliases shadow shadow(4) shadow password file sharetab sharetab(4) shared file system table space space(4) disk space requirement file strftime strftime(4) language specific strings sysbus sysbus(4) configuration files for ISA, EISA, and MCA bus device drivers syslog.conf syslog.conf(4) configuration file for syslogd system log daemon system system(4) system configuration information file term term(4) format of compiled term file terminfo terminfo (4) terminal capability database TIMEZONE TIMEZONE(4) set default system time zone and locale timezone timezone(4) default timezone data base ts_dptbl ts_dptbl(4) time-sharing dispatcher parameter table ttydefs ttydefs(4) file contains terminal line settings information for ttymon ttysrch ttysrch(4) directory search list for ttyname tune.high asetmasters(4) ASET master files tune.low asetmasters(4) ASET master files tune.med asetmasters(4) ASET master files ufsdump ufsdump(4) incremental dump format uid_aliases asetmasters(4) ASET master files unistd unistd(4) header for symbolic constants updaters updaters(4) configuration file for NIS updating utmp utmp(4) utmp and wtmp entry formats utmpx utmpx(4) utmpx and wtmpx entry formats variables environ(4) user-preference variables files for AT&T FACE vfstab vfstab(4) table of file system defaults
vold.conf vold.conf(4) Volume Management configuration file wtmp utmp(4) utmp and wtmp entry formats wtmpx utmpx(4) utmpx and wtmpx entry formats ypfiles ypfiles(4) Network Information Service Version 2, formerly knows as YP
ELF header
Program header table
optional
Section 1
. . .
Section n
. . .
. . .
Section header table
|
ELF header
Program header table
Segment 1
Segment 2
. . .
Section header table
optional
|
typedef ushort comp_t; /* pseudo "floating point" representation * /
/* 3 bit base-8 exponent in the high * /
/* order bits, and a 13-bit fraction * /
/* in the low order bits. * /
{
char ac_flag; /* Accounting flag * /
char ac_stat; /* Exit status * /
uid_t ac_uid; /* Accounting user ID * /
gid_t ac_gid; /* Accounting group ID * /
dev_t ac_tty; /* control tty * /
time_t ac_btime; /* Beginning time * /
comp_t ac_utime; /* accounting user time in clock * /
/* ticks * /
comp_t ac_stime; /* accounting system time in clock * /
/* ticks * /
comp_t ac_etime; /* accounting total elapsed time in clock * /
/* ticks * /
comp_t ac_mem; /* memory usage in clicks (pages) * /
comp_t ac_io; /* chars transferred by read/write * /
comp_t ac_rw; /* number of block reads/writes * /
char ac_comm[8]; /* command name * /
};
* Accounting Flags * / #define AFORK 01 /* has executed fork, but no exec * / #define ASU 02 /* used super-user privileges * / #define ACCTF 0300 /* record type * / #define AEXPND 040 /* Expanded Record Type - default * /
** total accounting (for acct period), also for day ** /
uid_t ta_uid; /* user id * /
char ta_name[8]; /* login name * /
float ta_cpu[2]; /* cum. cpu time in minutes, * /
/* p/np (prime/non-prime time) * /
float ta_kcore[2]; /* cum. kcore-minutes, p/np * /
float ta_con[2]; /* cum. connect time in minutes, * /
/* p/np * /
float ta_du; /* cum. disk usage (blocks)* /
long ta_pc; /* count of processes * /
unsigned short ta_sc; /* count of login sessions * /
unsigned short ta_dc; /* count of disk samples * /
unsigned short ta_fee; /* fee for special services * /
};
/etc/mail/aliases.dir /etc/mail/aliases.pag ~/.forward
jsmith:root
/etc/mail/aliases /etc/mail/sendmail.cf .. /.forward
basedir=default runlevel=quit conflict=quit setuid=quit action=quit partial=quit instance=unique idepend=quit rdepend=quit space=quit
/etc/mail/aliases.dir /etc/mail/aliases.pag ~/.forward
jsmith:root
/etc/mail/aliases /etc/mail/sendmail.cf .. /.forward
#define ARMAG "!<arch>\n" /* magic string * / #define SARMAG 8 /* length of magic string * /
#define ARFMAG "`\n" /* header trailer string * /
{
char ar_name[16]; /* '/' terminated file member name * /
char ar_date[12]; /* file member date * /
char ar_uid[6]; /* file member user identification * /
char ar_gid[6]; /* file member group identification * /
char ar_mode[8]; /* file member mode (octal) * /
char ar_size[10]; /* file member size * /
char ar_fmag[2]; /* header trailer string * /
};
| 0 | 1 | 2 | 3 | |||
| 01 | 02 | 03 | 04 |
| 4 114 114 426 426 | |||
| n | a | m | e |
| \0 | o | b | j |
| e | c | t | \0 |
| f | u | n | c |
| t | i | o | n |
| \0 | n | a | m |
| e | \0 |
0 4 offset entries 4 name 8 object 12 function 16 name 20
| f | i | l | e | _ | n | a | m | e | _ |
| s | a | m | p | l | e | / | \n | l | o |
| n | g | e | r | f | i | l | e | n | a |
| m | e | x | a | m | p | l | e | / | \n |
| short-name | short-name/ | Not in string table |
| file_name_sample | /0 | Offset 0 in string table |
| longerfilenamexample | /18 | Offset 18 in string table |
#define CMN_ASC 0x070701 /* Cpio Magic Number for -c header * / #define CMN_BIN 070707 /* Cpio Magic Number for Binary header * / #define CMN_BBS 0143561 /* Cpio Magic Number for Byte-Swap header * / #define CMN_CRC 0x070702 /* Cpio Magic Number for CRC header * / #define CMS_ASC "070701" /* Cpio Magic String for -c header * / #define CMS_CHR "070707" /* Cpio Magic String for odc header * / #define CMS_CRC "070702" /* Cpio Magic String for CRC header * / #define CMS_LEN 6 /* Cpio Magic String length * / /* Various header and field lengths * /
#define ASCSZ 110 /* -c and CRC hdr size minus filename field * / #define TARSZ 512 /* TAR hdr size * /
odc headers * /
#define EXPNLEN 1024 /* maximum filename length for -c and
CRC headers * /
#define HTIMLEN 2 /* length of modification time field * /
#define HSIZLEN 2 /* length of file size field * /
/* cpio binary header definition * /
short h_magic, /* magic number field * /
h_dev; /* file system of file * /
ushort h_ino, /* inode of file * /
h_mode, /* modes of file * /
h_uid, /* uid of file * /
h_gid; /* gid of file * /
short h_nlink, /* number of links to file * /
h_rdev, /* maj/min numbers for special files * /
h_mtime[HTIMLEN], /* modification time of file * /
h_namesize, /* length of filename * /
h_filesize[HSIZLEN]; /* size of file * /
char h_name[HNAMLEN]; /* filename * /
} ;
struct c_hdr {
char c_magic[CMS_LEN],
c_dev[6],
c_ino[6],
c_mode[6],
c_uid[6],
c_gid[6],
c_nlink[6],
c_rdev[6],
c_mtime[11],
c_namesz[6],
c_filesz[11],
c_name[HNAMLEN];
} ;
struct Exp_cpio_hdr {
char E_magic[CMS_LEN],
E_ino[8],
E_mode[8],
E_uid[8],
E_gid[8],
E_nlink[8],
E_mtime[8],
E_filesize[8],
E_maj[8],
E_min[8],
E_rmaj[8],
E_rmin[8],
E_namesize[8],
E_chksum[8],
E_name[EXPNLEN];
} ;
#define TBLOCK 512 /* length of tar header and data blocks * / #define TNAMLEN 100 /* maximum length for tar file names * / #define TMODLEN 8 /* length of mode field * / #define TUIDLEN 8 /* length of uid field * / #define TGIDLEN 8 /* length of gid field * / #define TSIZLEN 12 /* length of size field * / #define TTIMLEN 12 /* length of modification time field * / #define TCRCLEN 8 /* length of header checksum field * / /* tar header definition * /
char dummy[TBLOCK];
struct header {
char t_name[TNAMLEN]; /* name of file * /
char t_mode[TMODLEN]; /* mode of file * /
char t_uid[TUIDLEN]; /* uid of file * /
char t_gid[TGIDLEN]; /* gid of file * /
char t_size[TSIZLEN]; /* size of file in bytes * /
char t_mtime[TTIMLEN]; /* modification time of file * /
char t_chksum[TCRCLEN]; /* checksum of header * /
char t_typeflag; /* flag to indicate type of file * /
char t_linkname[TNAMLEN]; /* file this file is linked with * /
char t_magic[6]; /* magic string always "ustar" * /
char t_version[2]; /* version strings always "00" * /
char t_uname[32]; /* owner of file in ASCII * /
char t_gname[32]; /* group of file in ASCII * /
char t_devmajor[8]; /* major number for special files * /
char t_devminor[8]; /* minor number for special files * /
char t_prefix[155]; /* pathname prefix * /
} tbuf;
};
/* volcopy tape label format and structure * /
#define VVOLLEN6 #define VFILLEN 464
char v_magic[VMAGLEN],
v_volume[VVOLLEN],
v_reels,
v_reel;
long v_time,
v_length,
v_dens,
v_reelblks, /* u370 added field * /
v_blksize, /* u370 added field * /
v_nblocks; /* u370 added field * /
char v_fill[VFILLEN];
long v_offset; /* used with -e and -reel options * /
int v_type; /* does tape have nblocks field? * /
} ;
CKLISTPATH_LOW CKLISTPATH_MED CKLISTPATH_HIGH
CKLISTPATH_LOW=/etc:/ CKLISTPATH_MED=$CHECKLISTPATH_LOW:/usr/bin:/usr/ucb CKLISTPATH_HIGH=$CHECKLISTPATH_MED:/usr/lib:/usr/sbin YPCHECK=false UID_ALIASES=/usr/aset/masters/uid_aliases PERIODIC_SCHEDULE="0 0 * * * " TASKS="env sysconf usrgrp"
/usr/aset/masters/tune.med /usr/aset/masters/tune.high /usr/aset/masters/uid_aliases /usr/aset/masters/cklist.low /usr/aset/masters/cklist.med /usr/aset/masters/cklist.high
tune.low tune.med tune.high These files are used by the tune task (see aset(1M)) to restrict the permis-
1=sync=daemon
cklist.med cklist.high
/bin 00777 root staff symlink /etc 02755 root staff directory /dev/sd* 00640 root operator file
yyyymmddhhmmss.not_terminated.hostname when open or if the auditd(1M) terminated ungracefully, and the form yyyymmddhhmmss. yyyymmddhhmmss. hostname
version # char (1) event type u_short event modifier u_short seconds of time u_int milliseconds of time u_int
0x00000000:no:invalid class 0x00000001:fr:file read 0x00000002:fw:file write 0x00000004:fa:file attribute access 0x00000008:fm:file attribute modify 0x00000010:fc:file create 0x00000020:fd:file delete 0x00000040:cl:file close 0xffffffff:all:all classes
short name long name short description no no_class null value for turning off event preselection fr file_read Read of data, open for reading, etc. fw file_write Write of data, open for writing, etc. fa file_attr_acc Access of object attributes: stat, pathconf, etc. fm file_attr_mod Change of object attributes: chown, flock, etc. fc file_creation Creation of object fd file_deletion Deletion of object cl file_close close(2) system call pc process Process operations: fork, exec, exit, etc. nt network Network events: bind, connect, accept, etc. ip ipc System V IPC operations na non_attrib non-attributable events ad administrative administrative actions: mount, exportfs, etc. lo login_logout Login and logout events ap application Application auditing io ioctl ioctl(2) system call ex exec exec(2) system call ot other Everything else all all All flags set
dir: /etc/security/jedgar/eggplant dir: /etc/security/jedgar.aux/eggplant # # Last-ditch audit file system when jedgar fills up. # dir: /etc/security/global/eggplant minfree: 20 flags: lo,ad,-all,^-fm naflags: lo,ad
/etc/security/audit_warn /etc/security/audit/* /* /* /etc/security/audit_user
7:AUE_EXEC:exec(2):pc,ex 79:AUE_OPEN_WTC:open(2) - write,creat,trunc:fc,fd,fw 6152:AUE_login:login - success or failure:lo 6153:AUE_logout:logout:lo 6154:AUE_telnet:login - through telnet:lo 6155:AUE_rlogin:login - through rlogin:lo
other:lo,ad:io,cl fred:lo,ex,+fc,-fr,-fa:io,cl ethyl:lo,ex,nt:io,cl
client1 root=server1:/export/client1/root \
swap=server1:/export/client1/swap
# # .cdtoc file -- Online product family CD # PRODNAME=Online DiskSuite PRODVERS=2.0 PRODDIR=Online_DiskSuite_2.0 # PRODNAME=Online Backup PRODVERS=2.0 PRODDIR=Online_Backup_2.0
/.cdtoc
/Online_DiskSuite_2.0
./SUNWmddr.c
./SUNWmddr.m
./SUNWmddu
/Online_Backup_2.0
./SUNWhsm
PRODNAME=Solaris PRODVERS=2.2 PRODDIR=Solaris_2.2
/.cdtoc
/Solaris_2.2
./SUNWaccr
./SUNWaccu
./SUNWadmap
.
.
.
./SUNWutool
/usr/aset/masters/tune.med /usr/aset/masters/tune.high /usr/aset/masters/uid_aliases /usr/aset/masters/cklist.low /usr/aset/masters/cklist.med /usr/aset/masters/cklist.high
tune.low tune.med tune.high These files are used by the tune task (see aset(1M)) to restrict the permis-
1=sync=daemon
cklist.med cklist.high
/bin 00777 root staff symlink /etc 02755 root staff directory /dev/sd* 00640 root operator file
/usr/aset/masters/tune.med /usr/aset/masters/tune.high /usr/aset/masters/uid_aliases /usr/aset/masters/cklist.low /usr/aset/masters/cklist.med /usr/aset/masters/cklist.high
tune.low tune.med tune.high These files are used by the tune task (see aset(1M)) to restrict the permis-
1=sync=daemon
cklist.med cklist.high
/bin 00777 root staff symlink /etc 02755 root staff directory /dev/sd* 00640 root operator file
/usr/aset/masters/tune.med /usr/aset/masters/tune.high /usr/aset/masters/uid_aliases /usr/aset/masters/cklist.low /usr/aset/masters/cklist.med /usr/aset/masters/cklist.high
tune.low tune.med tune.high These files are used by the tune task (see aset(1M)) to restrict the permis-
1=sync=daemon
cklist.med cklist.high
/bin 00777 root staff symlink /etc 02755 root staff directory /dev/sd* 00640 root operator file
# ident "@(#)clustertoc.4 1.2 93/02/24" CLUSTER=SUNWCacc NAME=System Accounting DESC=System accounting utilities VENDOR=Sun Microsystems, Inc. VERSION=7.2 SUNW_CSRMEMBER=SUNWaccr SUNW_CSRMEMBER=SUNWaccu END
# required meta-cluster description for Solaris 2.0 FCS METACLUSTER=SUNWCreq NAME=Core System Support DESC=A pre-defined software configuration consisting of the minimum required software for a standalone, non-networked workstation. VENDOR=Sun Microsystems, Inc. VERSION=2.0 SUNW_CSRMEMBER=SUNWadmr SUNW_CSRMEMBER=SUNWcar SUNW_CSRMEMBER=SUNWCcs SUNW_CSRMEMBER=SUNWCcg6 SUNW_CSRMEMBER=SUNWCdfb SUNW_CSRMEMBER=SUNWkvm SUNW_CSRMEMBER=SUNWCnis SUNW_CSRMEMBER=SUNWowdv SUNW_CSRMEMBER=SUNWter END
Version 1.3 Version 1.0
type pkg name
(arch)version
(arch)version
...
#ident "@(#)pkg.compat:depend 1.1" P nsu Networking Support Utilities P inet Internet Utilities P sys System Header Files P src_compat Source Compatibility Files
cfinfo_file: cfinfo_devspec EOF
;
;
cfinfo_spec_list cfinfo_spec
;
attr_value_pair NEWLINE
;
POUNDSIGN STRING
;
ATTR_OWNAME EQUALS STRING
ATTR_TITLE EQUALS STRING |
ATTR_CATEGORY EQUALS STRING |
ATTR_INSTANCE EQUALS STRING |
ATTR_CLASS EQUALS STRING |
ATTR_TYPE EQUALS STRING |
ATTR_REAL EQUALS STRING |
ATTR_AUTO EQUALS STRING |
NAME EQUALS value_spec_string
;
value_spec_string: QUOTE value_spec QUOTE
;
;
TYPE_NUMERIC |
TYPE_STRING |
TYPE_VAR
;
string_value_list
;
INTEGER COLON INTEGER |
INTEGER COMMA integer_value_list
;
STRING COMMA string_value_list
;
ATTR_NAME name # device name specified in driver.conf
ATTR_CLASS class # device class specified in driver.conf
ATTR_TYPE type # device type specified in OWconfig
ATTR_OWNAME __owname__ # device name specified in OWconfig
ATTR_TITLE __title__ # device title displayed by devconfig
ATTR_CATEGORY __category__ # device category
ATTR_INSTANCE __instance__ # device unit
ATTR_REAL __real__ # attributes to write to driver.conf
ATTR_AUTO __auto__ # self-identifying device attribute
TYPE_NUMERIC numeric # precedes an integer value list
TYPE_STRING string # precedes a string values list
TYPE_VAR var # precedes a variable specification
name="logi"
__owname__="pointer:0"
__title__="Logitec bus mouse"
__category__="pointer"
type="LOGI-B" buttons="var,__nbuttons__" __nbuttons__="numeric,2:3" dev="/dev/logi"
__irq__="numeric,2:5"
name="lp"
__title__="Parallel printer port"
__category__="lp"
class="sysbus"
# scsi tape
st0;\
st;\
reserved;\
reserved;\
alloc;\
/etc/security/lib/st_clean;\
# floppy drive
fd0;\
fd;\
reserved;\
reserved;\
alloc;\
/etc/security/lib/fd_clean;\
st1:\
rmt:\
/dev/rst21 /dev/nrst21 /dev/rst5 /dev/nrst5 /dev/rst13 \
/dev/nrst13 /dev/rst29 /dev/nrst29 /dev/rmt/1l /dev/rmt/1m \
/dev/rmt/1 /dev/rmt/1h /dev/rmt/1u /dev/rmt/1ln /dev/rmt/1mn \
/dev/rmt/1n /dev/rmt/1hn /dev/rmt/1un /dev/rmt/1b /dev/rmt/1bn:\
#include <sys/types.h> #include <sys/fs/ufs_fsdir.h>
#define DIRBLKSIZ DEV_BSIZE
#define MAXNAMLEN 256
struct direct {
u_long d_ino; /* inode number of entry * /
u_short d_reclen; /* length of this record * /
u_short d_namlen; /* length of string in d_name * /
char d_name[MAXNAMLEN + 1]; /* name must be no longer than this * /
};
#include <sys/types.h> #include <sys/fs/ufs_fsdir.h>
#define DIRBLKSIZ DEV_BSIZE
#define MAXNAMLEN 256
struct direct {
u_long d_ino; /* inode number of entry * /
u_short d_reclen; /* length of this record * /
u_short d_namlen; /* length of string in d_name * /
char d_name[MAXNAMLEN + 1]; /* name must be no longer than this * /
};
struct dirent {
ino_t d_ino;
off_t d_off;
unsigned short d_reclen;
char d_name[1];
};
#ident "@(#)ACME,simple.conf 1.3 93/09/09"
#ident "@(#)ACME,example.conf 1.2 93/09/09"
debug-level=1; name="ACME,example" parent="pseudo" instance=1;
#include <sys/inode.h> #include <protocols/dumprestore.h>
#define TP_BSIZE 1024 #define NTREC 10 #define HIGHDENSITYTREC 32 #define CARTRIDGETREC 63 #define TP_NINDIR (TP_BSIZE /2) #define TP_NINOS (TP_NINDIR / sizeop (long)) #define LBLSIZE 16 #define NAMELEN 64
#define CHECKSUM (int) 84446
char s_addrs[TP_NINDIR ];
long s_inos[TP_NINOS ];
char dummy[TP_BSIZE ];
struct s_spcl {
long c_type;
time_t c_date;
time_t c_ddate;
long c_volume;
daddr_t c_tapea;
ino_t c_inumber;
long c_magic;
long c_checksum;
struct dinode c_dinode;
long c_count;
union u_data c_data;
char c_label[LBLSIZE ];
long c_level;
char c_filesys[NAMELEN ];
char c_dev[NAMELEN ];
char c_host[NAMELEN ];
long c_flags;
long c_firstrec;
long c_spare[32];
} s_spcl;
} u_spcl;
#define c_addr c_data.s_addrs #define c_inos cdata.s_inos
#define TS_INODE 2 #define TS_ADDR 4 #define TS_BITS 3 #define TS_CLRI 6 #define TS_END 5 #define TS_EOM 7
#define DR_INODEINFO 2 #define DR_REDUMP 4 #define DR_TRUELIC 8 #define DUMPOUTFMT "%-24s %c %s" #define DUMPINFMT "%24s %c %[^ \n ] \n"
name="logi" class="sysbus" intr=1,4 ioaddr=0x23c reg=0x23c,0,0; name="sbpro" class="sysbus" ioaddr=0x220 intr=5,7 dmachan=1 reg=0x220,0,0;
DISPMODE
which has the same values as the DISPLAYMODE variable described in
.environ above.
Variables found in .variables include:
EDITOR Default editor
PS1 shell prompt
$HOME/pref/.variables $HOME/FILECABINET/.pref $HOME/WASTEBASKET/.pref
fd = open("/dev/fd/n",mode);
fd = dup(n);
struct filehdr
{
unsigned short f_magic ; /** magic number ** /
unsigned short f_nscns ; /** number of sections ** /
long f_timdat ; /** time & date stamp ** /
long f_symptr ; /** file ptr to symtab ** /
long f_nsyms ; /** number of symtab entries ** /
unsigned short f_opthdr ; /** sizeof(opt and header) ** /
unsigned short f_flags ; /** flags ** /
};
#define I386MAGIC 0514 /** i386 Computer ** / #define WE32MAGIC 0560 /** 3B2, 3B5, and 3B15 computers ** / #define N3BMAGIC 0550 /** 3B20 computer ** / #define NTVMAGIC 0551 /** 3B20 computer ** /
#define VAXROMAGIC 0575 /** VAX read only sharable
text segments ** /
#define F_RELFLG 0000001 /** relocation entries stripped ** / #define F_EXEC 0000002 /** file is executable ** / #define F_LNNO 0000004 /** line numbers stripped ** / #define F_LSYMS 0000010 /** local symbols stripped ** / #define F_AR16WR 0000200 /** 16-bit DEC host ** / #define F_AR32WR 0000400 /** 32-bit DEC host ** / #define F_AR32W 0001000 /** non-DEC host ** / #define F_BM32ID 0160000 /** WE32000 family ID field ** /
#define F_BM32B 0020000 /** file contains WE 32100 code ** /
#define F_BM32MAU 0040000 /** file reqs MAU to execute ** /
#define F_BM32RST 0010000 /** this object file contains restore
work around [3B5/3B2 only] ** /
disk_type = "SUN0535" \
: ctlr = SCSI : fmt_time = 4 \
: ncyl = 1866 : acyl = 2 : pcyl = 2500 : nhead = 7 : nsect = 80 \
: rpm = 5400
: disk = "SUN0535" : ctlr = SCSI \
: 0 = 0, 64400 : 1 = 115, 103600 : 2 = 0, 1044960 : 6 = 300, 876960
/etc/mail/aliases.dir /etc/mail/aliases.pag ~/.forward
jsmith:root
/etc/mail/aliases /etc/mail/sendmail.cf .. /.forward
#include <sys/types.h> #include <sys/fs/ufs_fs.h> #include <sys/fs/ufs_inode.h>
groupname: password: gid: user-list groupname The name of the group. gid The group's unique numerical ID within the system. user-list A comma-separated list of users allowed in the group.
root::0:root stooges:q.mJzTnu8icF.:10:larry,moe,curly
root::0:root stooges:q.mJzTnu8icF.:10:larry,moe,curly +:
* Curr Prime Non-Prime * Year Start Start * 1991 0830 1800 * * only the first column (month/day) is significant. * * month/day Company * Holiday * 1/1 New Years Day 5/30 Memorial Day 7/4 Indep. Day 9/5 Labor Day 11/24 Thanksgiving Day 11/25 day after Thanksgiving 12/25 Christmas 12/26 day after Christmas
# John Smith
Assume the file /etc/netdaemon is a script that will initiate networking daemons when given the argument argument 'stop'. It is linked to
/etc/rc2.d/S68netdaemon, and to /etc/rc0.d/K67netdaemon. The file is executed by /etc/rc2.d/S68netdaemon start when init state 2 is entered and by /etc/rc0.d/S67netdaemon stop when shutting the system down.
#include <sys/types.h> #include <sys/fs/ufs_fs.h> #include <sys/fs/ufs_inode.h>
#include <sys/types.h> #include <sys/fs/ufs_fs.h> #include <sys/fs/ufs_inode.h>
name="logi" class="sysbus" intr=1,4 ioaddr=0x23c reg=0x23c,0,0; name="sbpro" class="sysbus" ioaddr=0x220 intr=5,7 dmachan=1 reg=0x220,0,0;
swap number1 with number2
exchanges the entries for keystations number1 and number2.
ATHENA.MIT.EDU ATHENA.MIT.EDU kerberos-1.mit.edu admin server ATHENA.MIT.EDU kerberos-2.mit.edu LCS.MIT.EDU kerberos.lcs.mit.edu admin server
host_name kerberos_realm domain_name kerberos_realm
ARG_MAX 1048320 /** max length of arguments to exec ** /
CHAR_BIT 8 /** max # of bits in a "char" ** /
CHAR_MAX 255 /** max value of a "char" ** /
CHAR_MIN 0 /** min value of a "char" ** /
CHILD_MAX 25 /** max # of processes per user id ** /
CLK_TCK _sysconf(3) /** clock ticks per second ** /
DBL_DIG 15 /** digits of precision of a "double" ** /
DBL_MAX 1.7976931348623157E+308/** max decimal value of a "double"** /
DBL_MIN 2.2250738585072014E-308/** min decimal value of a "double"** /
FCHR_MAX 1048576 /** historical default file size limit in bytes ** /
FLT_DIG 6 /** digits of precision of a "float" ** /
FLT_MAX 3.40282347e+38F /** max decimal value of a "float" ** /
FLT_MIN 1.17549435E-38F /** min decimal value of a "float" ** /
INT_MAX 2147483647 /** max value of an "int" ** /
INT_MIN (-2147483647-1) /** min value of an "int" ** /
LINK_MAX 1000 /** max # of links to a single file ** /
LOGNAME_MAX 8 /** max # of characters in a login name ** /
LONG_BIT 32 /** # of bits in a "long" ** /
LONG_MAX 2147483647 /** max value of a "long int" ** /
LONG_MIN (-2147483647-1) /** min value of a "long int" ** /
MAX_CANON 256 /** max bytes in a line for canonical
processing ** /
MAX_INPUT 512 /** max size of a char input buffer ** /
MB_LEN_MAX 5 /** max # of bytes in a multibyte
character ** /
NAME_MAX 14 /** max # of characters in a file name ** /
NGROUPS_MAX 16 /** max # of groups for a user ** /
NL_ARGMAX 9 /** max value of "digit" in calls to the
NLS printf() and scanf() ** /
NL_LANGMAX 14 /** max # of bytes in a LANG name ** /
NL_MSGMAX 32767 /** max message number ** /
NL_NMAX 1 /** max # of bytes in N-to-1 mapping
characters ** /
NL_SETMAX 255 /** max set number ** /
NL_TEXTMAX 255 /** max # of bytes in a message string ** /
NZERO 20 /** default process priority ** /
OPEN_MAX 20 /** max # of files a process can have
open ** /
PASS_MAX 8 /** max # of characters in a password ** /
PATH_MAX 1024 /** max # of characters in a path name ** /
PID_MAX 30000 /** max value for a process ID ** /
PIPE_BUF 5120 /** max # bytes atomic in write to a pipe ** /
PIPE_MAX 5120 /** max # bytes written to a pipe
in a write ** /
SCHAR_MAX 127 /** max value of a "signed char" ** /
SCHAR_MIN (-128) /** min value of a "signed char" ** /
SHRT_MAX 32767 /** max value of a "short int" ** /
SHRT_MIN (-32768) /** min value of a "short int" ** /
STD_BLK 1024 /** # bytes in a physical I/O block ** /
SYS_NMLN 257 /** 4.0 size of utsname elements ** /
/** also defined in sys/utsname.h ** /
SYSPID_MAX 1 /** max pid of system processes ** /
TMP_MAX 17576 /** max # of unique names generated
by tmpnam ** /
UCHAR_MAX 255 /** max value of an "unsigned char" ** /
UID_MAX 60000 /** max value for a user or group ID ** /
UINT_MAX 4294967295 /** max value of an "unsigned int" ** /
ULONG_MAX 4294967295 /** max value of an "unsigned long int" ** /
USHRT_MAX 65535 /** max value of an "unsigned short int" ** /
USI_MAX 4294967295 /** max decimal value of an "unsigned" ** /
WORD_BIT 32 /** # of bits in a "word" or "int" ** /
_POSIX_ARG_MAX 4096 /** max length of arguments to exec ** /
_POSIX_CHILD_MAX 6 /** max # of processes per user ID ** /
_POSIX_LINK_MAX 8 /** max # of links to a single file ** /
_POSIX_MAX_CANON 255 /** max # of bytes in a line of input ** /
_POSIX_MAX_INPUT 255 /** max # of bytes in terminal
input queue ** /
_POSIX_NAME_MAX 14 /** # of bytes in a filename ** /
_POSIX_NGROUPS_MAX 0 /** max # of groups in a process ** /
_POSIX_OPEN_MAX 16 /** max # of files a process can have open ** /
_POSIX_PATH_MAX 255 /** max # of characters in a pathname ** /
_POSIX_PIPE_BUF 512 /** max # of bytes atomic in write
to a pipe ** /
STARTFONT 2.1 FONT 8x16 SIZE 16 75 75 FONTBOUNDINGBOX 8 16 0 -4 STARTPROPERTIES 3 FONT_DESCENT 4 FONT_ASCENT 12 DEFAULT_CHAR 0 ENDPROPERTIES CHARS 256 STARTCHAR C0000 ENCODING 0 . . .
STARTCHAR C0041 ENCODING 65 SWIDTH 666 0 DWIDTH 8 0 BBX 8 16 0 -4 BITMAP 00 00 10 38 6c c6 c6 fe c6 c6 c6 c6 00 00 00 00 ENDCHAR
offset type value message
offset A number specifying the offset, in bytes, into the file of the data which is to be
tested.
type The type of the data to be tested. The possible values are:
byte A one-byte value.
short A two-byte value.
long A four-byte value.
string A string of bytes.
name="logi" class="sysbus" intr=1,4 ioaddr=0x23c reg=0x23c,0,0; name="sbpro" class="sysbus" ioaddr=0x220 intr=5,7 dmachan=1 reg=0x220,0,0;
network device
The network device is the full pathname of the device used to connect to the
transport provider. Typically, this device will be in the /dev directory. The
network device must be specified.
NC_TPI_CLTS
NC_TPI_COTS
NC_TPI_COTS_ORD
# # The "Network Configuration" File. # # Each entry is of the form: # # <network_id> <semantics> <flags> <protofamily> <protoname> <device> \ # <nametoaddr_libs> # # The "-" in <nametoaddr_libs> for inet family transports indicates # redirection to the name service switch policies for "hosts" and # "services". The "-" may be replaced by nametoaddr libraries that # comply with the SVr4 specs, in which case the name service switch # will not be used for netdir_getbyname, netdir_getbyaddr, # gethostbyname, gethostbyaddr, getservbyname, and getservbyport. # There are no nametoaddr_libs for the inet family in Solaris anymore. # udp tpi_clts v inet udp /dev/udp - tcp tpi_cots_ord v inet tcp /dev/tcp - rawip tpi_raw - inet - /dev/rawip - ticlts tpi_clts v loopback - /dev/ticlts straddr.so ticotsord tpi_cots_ord v loopback - /dev/ticotsord straddr.so ticots tpi_cots v loopback - /dev/ticots straddr.so
unix.789@West.Sun.COM 789:30,65 unix.123@Bldg_xy.Sun.COM 123:20,1521 unix.candlestick@campus1.bayarea.EDU 0:candlestick
machine ray login demo password mypassword
/etc/inet/networks /etc/networks
Database Used by aliases sendmail(1M) automount automount (1M) bootparams rpc.bootparamd (1M) ethers ethers(3N) group getgrnam(3C) hosts gethostbyname (3N) (See "Interaction with netconfig" below) netgroup innetgr(3N) netmasks ifconfig (1M) networks getnetbyname (3N) passwd getpwnam(3C), getspnam(3C) protocols getprotobyname(3N) publickey getpublickey(3N), secure_rpc(3N) rpc getrpcbyname (3N) sendmailvars sendmail(1M) services getservbyname(3N) (See "Interaction with netconfig" below)
Source Uses
files /etc/hosts, /etc/passwd, /etc/shadow and so forth
nis NIS (YP)
nisplus NIS+
dns Valid only for hosts; uses the Internet Domain Name Service.
compat Valid only for passwd and group; implements "+" and "-".
(See "Interaction with +/- syntax" below)
Status Meaning SUCCESS Requested database entry was found UNAVAIL Source is not responding or corrupted
Action Meaning continue Try the next source in the list return Return now
passwd_compat.
#ident "@(#)packagetoc.4 1.2 92/04/28" PKG=SUNWaccr PKGDIR=SUNWaccr NAME=System Accounting, (Root) VENDOR=Sun Microsystems, Inc. VERSION=8.1 PRODNAME=SunOS PRODVERS=5.0beta2 SUNW_PKGTYPE=root ARCH=sparc DESC=System Accounting, (Root) BASEDIR=/ CATEGORY=system ROOTSIZE= 11264 VARSIZE= 15360 OPTSIZE= 0 EXPORTSIZE= 0 USRSIZE= 0 USROWNSIZE= 0
root:q.mJzTnu8icF.:0:10:God:/:/bin/csh
fred:6k/7KCFRPNVXg:508:10:% Fredericks:/usr2/fred:/bin/csh
root:q.mJzTnu8icF.:0:10:God:/:/bin/csh fred:6k/7KCFRPNVXg:508:10:% Fredericks:/usr2/fred:/bin/csh +
/etc/passwd /etc/shadow
"/fd@1,f7200000" 0 "/audio@1,f7201000" 0 "/sbus@1,f8000000/esp@0,800000/sd@0,0" 0x0 "/sbus@1,f8000000/esp@0,800000/sd@1,0" 0x1 "/sbus@1,f8000000/esp@0,800000/sd@2,0" 0x2 "/sbus@1,f8000000/esp@0,800000/sd@3,0" 0x3 "/sbus@1,f8000000/le@0,c00000" 0
PKG="oam" NAME="OAM Installation Utilities" VERSION="3" VENDOR="AT&T" HOTLINE="1-800-ATT-BUGS" EMAIL="attunix!olsen" VSTOCK="0122c3f5566" CATEGORY="system.essential" ISTATES="S 2" RSTATES="S 2"