Changing file security, Table 7-1, Levels of file security – HP NonStop G-Series User Manual

Page 116: Giving files to other users

Advertising
background image

Using FUP for Basic File Management

Guardian User’s Guide 425266-001

7- 16

Changing File Security

Changing File Security

If you own a file, you can use the FUP SECURE command to change its security by
assigning the file a new security string — four characters that specify who can read,
write, execute, and purge a file.

Your logon default security string is automatically assigned to files you create, though
you can specify a different security for specific files. You can also change your default
security string as described in

Section 3, Managing Files With TACL

.

Table 7-1

lists the

characters you can use in a security string. “Local” refers to access within a single
system; “remote” refers to access between systems (nodes) in a network.

To change the security of a file, enter SECURE followed by the name of the file, a
comma, and a security string. For example, to assign the security string NONO to all the
files in the subvolumes $FIDO.SPOT and $FIDO.ROVER, enter:

Instead of entering FUP codes, you could enter the program values in the security string.
For example, you could enter 4242 instead of NONO. For more information about file
security and security strings, see the description of the FUP SECURE command in the
File Utility Program (FUP) Reference Manual.

Giving Files to Other Users

If you own a file, you can use the FUP GIVE command to give ownership of the file to
another user (only one user can own a file). Enter GIVE followed by the name of a file,
a file set, or a file-set list, a comma, and the user ID of the new owner.

For example, to give the files in the subvolume FORTLIB to user RESRCH.JACK,
enter:

If you want to regain ownership of a file, the new owner or a user logged on as the super
ID must use the FUP GIVE command to give the file to you.

Table 7-1. Levels of File Security

FUP Code

Program Value

Who Can Access the File

7

Local super ID only

U

6

Local or remote owner (any user with the owner’s user ID)

C

5

Local or remote member of the owner’s group

N

4

Any local or remote user

O

2

Local owner only

G

1

Local member of the owner’s group

A

0

Any local user

-SECURE ($FIDO.SPOT.*, $FIDO.ROVER.*), "NONO"

-GIVE FORTLIB.*, RESRCH.JACK

Advertising
This manual is related to the following products: