SDFCHOWN(1) — HP-UX
Series 300, 800 Only
NAME
sdfchown, sdfchgrp − change owner or group of an SDF file
SYNOPSIS
sdfchown owner device:file ...
sdfchgrp group device:file ...
DESCRIPTION
Sdfchown and sdfchgrp are intended to mimic chown(1) and chgrp(1).
An SDF file name is recognized by the embedded colon (:) delimiter (see sdf(4) for SDF file naming conventions).
Sdfchown changes the owner of the files to owner. The owner may be either a decimal user ID or a login name found in the password file.
Sdfchgrp changes the group ID of the files to group. The group may be either a decimal group ID or a group name found in the group file.
EXAMPLES
The examples that follow assume that an SDF directory structure exists on the HP-UX device file /dev/rdsk/c9d1d5.
The first example sets the owner of the SDF file /users/abc/phone.num to adm:
sdfchown adm /dev/rdsk/c9d1d5:/users/abc/phone.num
The second example sets the group ID of the SDF file /tmp/b.date to the decimal number 105:
sdfchgrp 105 /dev/rdsk/c9d1d5:/tmp/b.date
AUTHOR
Sdfchown was developed by the Hewlett-Packard Company.
FILES
/etc/passwd
/etc/group
SEE ALSO
sdf(4), chown(1), chgrp(1), group(5), passwd(5).
Hewlett-Packard Company — Version B.1, May 11, 2021