Customizing SoftBench CM Configuration

Modifying the Configuration Files

prefix match, then most specific user/host match) to determine access rights. However, by specifying priorities, you can use a shorter path for a specific user. For example, in the following entries:

*@host R /earth ; john@host S / ; jane@host 2S / ;

the user "john" has "R" access to /earth because /earth is more specific than "/" and "S" access to the rest of the archive. The user "jane" has "S" access to the whole archive, including /earth because the "2" specifies an increased priority.

The /opt/softbench/sbin/checkperm -dcommand displays the permissions file entries in sorted order. For any given access, the first entry that matches the requesting user@host and /path determines the access.

Recommended Format for Permissions File

You can order fields within an entry in two formats:

Format 1. Place user field first and permissions field second.

user1@host.domain.hp.com

 

RM

/project1 /project2

S

/project3

# system admin

R

/

 

# read-only default

;

 

 

 

user2@hp*

S

/project1

RM

/project2 /project3

;

 

 

 

Format 2. Place path field first and permissions field second.

/

R

*@*

 

 

;

 

 

/project1

RM

user1@host* user2@15.1.1-40.* user3@*

 

S

user4@host1.domain.hp.com

 

;

 

 

/project2

RM

user1@host*

 

RMD

user2@host1*

 

;

 

 

Use the pattern RMDA or -abf-cdilmnptuwx-oqz-esvyfor permissions and replace the disallowed permission bits or groupings with "-" characters. This makes it easier to understand which permissions are deleted and given. The permission letters can be in any order.

Appendix B

345

Page 345
Image 345
HP UX SoftBench Software manual Recommended Format for Permissions File