Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
a
admin(1) admin(1)
environ(5).
International Code Set Support
Single-byte and multi-byte character code sets are supported.
DIAGNOSTICS
Use sccshelp(1) for explanations.
WARNINGS
SCCS files can be any length, but the number of lines in the text file itself cannot exceed 99999 lines.
FILES
The last component of all SCCS file names must be of the form s.filename. New SCCS files are given
mode 444 (see chmod(1)). Write permission in the pertinent directory is required to create a file. All writ-
ing done by admin is to a temporary x-file, called x.filename, (see get(1)), created with mode 444 if the
admin command is creating a new SCCS file, or with the same mode as the SCCS file if it exists. After
successful execution of admin, the SCCS file is removed (if it exists), and the x-file is renamed to the name
of the SCCS file. This ensures that changes are made to the SCCS file only if no errors occurred.
It is recommended that directories containing SCCS files be mode 755 and that SCCS files themselves be
mode 444. The mode of any given directory allows only the owner to modify SCCS files contained in that
directory. The mode of the SCCS files prevents any modification at all except by SCCS commands.
If it should be necessary to patch an SCCS file for any reason, the mode can be changed to 644 by the
owner, thus allowing the use of vi or any other suitable editor. Care must be taken! The edited file should
always be processed by an
admin -h to check for corruption followed by an admin -z to generate a
proper checksum. Another
admin -h is recommended to ensure the SCCS file is valid.
admin also makes use of a transient lock file called z.filename), which is used to prevent simultaneous
updates to the SCCS file by different users. See get(1) for further information.
SEE ALSO
delta(1), ed(1), get(1), sccshelp(1), prs(1), what(1), sccsfile(4), acl(5).
STANDARDS CONFORMANCE
admin: SVID2, SVID3, XPG2, XPG3, XPG4
Section 1−−16 − 4 − HP-UX Release 11i: December 2000
___
___