FileName

Description

Page number

Chapter two--- Administering User accounts

/etc/cshrc

System environment for the C shell

2-95

/etc/profile

System environment for the Bourne or Korn Shell

2-95

/etc/default/accounts

File specifying default user account information

2-95

/etc/default/passwd

File specifying default password information

Same

/usr/lib/mkuser/csh/cshrc

Default account environment for the C shell

Same

/usr/lib/mkuser/csh/login

Default account environment file for the C shell

same

/usr/lib/mkuser/ksh/kshrc

Default account environment for the Korn shell

Same

/usr/lib/mkuser/ksh/profile

Default account environment file for the Korn shell

Same

/usr/lib/mksuser/sh/profile

Default account environment for the Bourne shell

Same

$HOME/.chsrc

Account environment file for the C shell

Same

$HOME/.login

Account environment file for the C shell

Same

$HOME/.kshrc

Account environment file for the Korn shell

Same

$HOME/.profile

Account environment file for the Korn shell

Same

Vocabulary

Relevant commands to user accounts

2-93

Chapter Three--- Managing processes

/usr/lib/cron/cron.allow

An explicit list of who can schedule cron jobs. An empty file indicates that none of the users can schedule jobs

3-25

/usr/lib/cron/cron.deny

An explicit list of who cannot shedule cron jobs. This file is used only if cron.allow does not exist. An empty list indicates that any user can schedule jobs.

3-25

$HOME/crontab.eg

Suggested file containing a user’s cron requests

3-31

Chapter Four---Filesystems

/dev/root

Root Filesystem

4-13

/u

Sometimes use as a “user” filesystem

4-13

/dev/fd0

Primary Floppy Disk

4-13

/dev/cd0

Primary CD-ROM

4-13

/etc/wtmp

Account Records

4-37

/usr/adm/messages

System Messages Log

4-37

/usr/adm/syslog

System events Log

4-37

/usr/spool/lp/admins/lp/logs/*

Printer logs

4-37

Main system wide temporary files:

check these directories periodically and remove older files

4-39

lost + found

(for each filesystem)

4-39

/tmp

 

4-39

/usr/tmp

 

4-39

/dev/rfd096ds15 OR /dev/rfd196ds15

5 ¼ 1.2M floppy disks

5-5

/dev/rfd0135ds18 OR /dev/rfd1135ds18

3 ½ 1.44M floppy disks

5-5

/dev/rfd0135ds36 OR /dev/rfd1135ds36

3 ½ 2.88M floppy disks

5-5

Chapter 7 Managing printers

/usr/lib/lpshut

command (lpshut) for stopping the print service

7-7

/usr/lib/lpsched

command (lpsched) for starting the print service

7-9

$HOME/.cshrc

Users C shell login file where a default printer may be set

7-49

$HOME/.profile

Users Bourne or Korn shell login file where a default printer may be set

7-49

/etc/default/lpd

Default print services options

7-49

System Administration II—Volume 1

/etc/default/filesys

default filesystem information—full path

2-59

/etc/rc2.d/*

scripts run by etc/rc2 when going to multiuser mode

man pages

/usr/adm/messages

Contains system log information including configuration information, error messages, driver information and so forth.

2-67

Files and Filesystems Chapter 3

/bin

System Binaries—may or may not be accesable to users

3-5

/dev

System device files

3-5

/etc

System administration files and tools, including startup and shutdown scripts, kernel generation, and subsystem authorization.

3-5

/lib

C programming libraries

3-5

/lost+found

Unreferenced files when cleaning the root filesystem. Each filesystem has it’s own lost+found directory

3-5

/mnt

Empty directory for mounting filesystems

3-5

/opt

Contains the actual system software in subdirectories known as software storage objects, or SSO’s. All files in /opt are read-only. The /opt directory also contains the shared files of SSO’s that clients of a server system can use (/var/opt contains the non-shared files).

3-5

/shlib

Shared Libraries

3-5

/stand

Directory to access the boot filesystem, which contains the kernel and boot files.

3-5

/tcb

The Trusted Computing Base, used to keep trusted computing data, such as passwords and audit trails.

3-5

/tmp

Temporary files created by programs. Files stored in this directory will be erased if cron has been scheduled to remove them. vi creates temporary files here till written to disk.

3-5

/usr

Contains application and system-specific information; the default location for user accounts.

3-5

/var

Contains the non-shared SSO files that are specific to an individual client or server.

3-5

/var/adm

Contains data files associated with system administration and accounting. The /usr/adm directory is a symbolic link to /var/adm.

3-7

/var/spool

Contains various directories for storing files fo be mailed, printed, or passed through networks. The /usr/spool directory is a symbolic link to /var/spool.

3-7

/var/opt

Contains read/write copies of the configuration files from the /opt directory. The /var/opt directory also contains the non-shared files of SSO’s that clients of a server system can use.

3-7

The /usr directory structure

/usr/adm

A symbolic link to /var/adm, a storage directory for important log files

3-9

/usr/bin

Contains symbolic links to additional binaries that are UNIX application specific, including uucp, vi and mail.

3-9

/usr/lib

Contains symbolic links to configuration files for many UNIX application utilities, including /usr/lib/mail/mailrc

3-9

/usr/man

Contains symbolic links to online manual pages in /opt.

3-9

/usr/spool

A symbolic link to /var/spool, a storage directory for spooling programs

3-9

The /etc directory structure

/etc/auth

Contains symbolic links to subsystem authorizations and defaults files

3-9

/etc/conf

A symbolic link to /var/opt/K/SCO/Unix/5.0.5Eb/etc/conf, the kernel tuning and regeneration area

3-9

/etc/default

Contains symbolic links to configuration files related to system defaults

3-9

The /tcb Directory Structure

/tcb/audittmp

Location of Audit Records

3-11

/tcb/bin

Audit Commands

3-11

/tcb/files/auth/[a-z]/*

Includes user-encrypted passwords, system authorizations, and kernel parameters

3-11

/tcb/lib

Audit commands

3-11

Other important files

/dev/boot

The boot filesystem

3-41

/dev/recover

A non-filesystem division used at system startup

3-41

/dev/root

The root filesystem

3-41

/dev/swap

A non-filesystem division used when memory is low and data and programs are swapped to disk /dev/root

3-41

Unix boot files

/stand/unix

The UNIX kernel that is created during installation and the default boot kernel

5-67

/stand/unix.install

The copy of the install kernel which is saved on the root filesystem

5-67

/stand/unix.safe

a copy of the previous kernel file

5-67

/stand/boot

The UNIX boot program

5-67

/etc/default/boot

File to edit to change boot process

7-13

/stand/etc/default/boot

File NOT TO EDIT to change boot process. Changes made to /etc/default /boot are written to this file during a proper system shutdown.

7-13

/usr/adm/messages

A copy of the Boot screen and kernel error messages

7-33

/usr/adm/hwconfig

Device initialization messages

7-33

/usr/adm/syslog

A copy of the boot screen and debugging messages

7-33

/etc/inittab

Contains instructions for init—do not edit this file. Edit the appropriated other files: /etc/conf/cf.d/init.base and /etc/conf/init.d/*

7-75

 

 

 

/etc/conf/init.d/sio

Edit this file to manually configure serial ports. /etc/inittab is updated from this file.

SA II Vol2

Page 10-11

/dev/fd*

Represents floppy devices

8-11

/dev/tty*

Represents serial devices

8-11

/dev/lp*

Represents parallel devices

8-11

/etc/checklist

Contains filesystem names used by fsck and ncheck

8-87

/etc/default/scsihas

Contains supported SCSI host adapters

8-87

/dev/tty1a

The first standard serial port, knows as COM1

9-5

/dev/tty1A

The first standard serial port and provides modem control

9-5

/dev/tty2a

The second standard serial port known as COM2

9-5

/dev/tty2A

The second standard serial port and provides modem control

9-5

/etc/gettydefs

Contains information used by getty to set up the speed and terminal settings for a serial line. I also supplies info on what the login prompt should look like.

9-15

System Admin II Vol2

/etc/conf/init.d/sio

A serial device file used to rebuild /etc/inittab when the kernel is linked.

10-21

/etc/inittab

A serial device control file used by init

10-21

/usr/lib/uucp/Devices

Contains information for all the devices that can be used to establish a link to a remote computer

10-21

Sysadmin II Vol2

/usr/spool/lp/logs/requests

Once the print job has completed printing, files are removed from /usr/spool/lp/temp and /usr/spool/lp/requests/ and the information is appended to /usr/spool/lp/logs/requests

11-35

/usr/spool/lp/model

Listing of scripts for printer models-Do not edit

11-50

/usr/spool/lp/admins/lp/interfaces

Printer scripts copied from /usr/spool/lp/model to here. Edit these scripts if printer interface needs customizing.

11-55

/usr/spool/lp/logs

Completed print request log files

11-81

/usr/spool/lp/requests

Contains print log information while printing

11-81

/dev/rStp0

A SCSI tape drive special file

12-31

/dev/rct0

A ¼-inch cartridge tape special file

12-31

/usr/spool/cron/crontabs

System crontab files Do not edit

13-43

/usr/adm/pact

Default process accounting file

13-53

/usr/adm/sa

Directory that contains system activity reports

13-53

/etc/auth/system/default

Contains the default security profile for the system---Never edit this file—use scoadmin period!!!

14-12

/etc/auth/system/authorize

Subsystem Authorization file

14-77

/etc/auth/system/files

File Control Database

14-77

/tcb/files/auth/[a-z]/*

Protected Password database

14-77

/etc/passwd

Contains both account data and (on some systems) an encrypted password

14-23

/etc/group

Contains group names, ID’s and names of users belonging to each group.

14-23

/etc/shadow

Contains encrypted passwords. Access to this file is restricted; it is maintained for compatibility with other UNIX systems.

14-23

/etc/default/passwd

Contains default account information such as the minimum length of a password and number of repeated attempts to successfully change a password.

14-23

/etc/default/login

Contains default account information, for example, if a password id required upon login and if pertinent information displays when a user logs in.

14-23

/etc/conf/cf.d

The directory which contains the program and the files to rebuild a new UNIX kernel

15-67

/dev/boot

The boot filesystem block device file

16-41

/dev/root

The root filesystem block device file

16-41

 Back to Unix Page

1 1