HP-UX Reference (11i v1 05/09) - 1 User Commands A-M (vol 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
Number of lines in a SCCS file cannot exceed 99,999 lines. Each line can be of
BUFSIZ-3 characters in
non-XPG4 environment and
LINE_MAX-3 in XPG4 environment, including the newline.
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 116 Hewlett-Packard Company 4 HP-UX 11i Version 1: September 2005