Unix and Linux Discussions Tagged with hp ux |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
4,775 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
10,603 |
Shell Programming and Scripting |
|
|
|
7 |
12,862 |
HP-UX |
|
|
|
10 |
27,631 |
Shell Programming and Scripting |
|
|
|
3 |
6,955 |
HP-UX |
|
|
|
2 |
5,770 |
HP-UX |
|
|
|
2 |
5,428 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
12,403 |
HP-UX |
|
|
|
2 |
8,657 |
HP-UX |
|
|
|
3 |
9,828 |
HP-UX |
|
|
|
3 |
14,281 |
HP-UX |
|
|
|
2 |
4,646 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
8,308 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,092 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
7,037 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,610 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,481 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,830 |
UNIX for Dummies Questions & Answers |
rbacdbchk(1M) rbacdbchk(1M)
NAME
rbacdbchk - Verifies the syntax of the Role-Based Access Control (RBAC) database files
SYNOPSIS
DESCRIPTION
verifies that there are no conflicting or inconsistent entries in and amongst the RBAC database files. also checks the syntax of the data-
base files and prints messages indicating which lines contain errors. returns zero output if no errors are present in the database files.
All the RBAC database files and are verified. See rbac(5) for more information on these RBAC database files.
Options
supports the following options:
Checks the
database.
Checks the
database.
Checks the
database.
Checks the
database.
Checks the
database.
Cross reference checks all databases.
EXTERNAL INFLUENCES
Environment Variables
determines the language in which messages are displayed.
International Code Set Support
Single-byte character code set is supported.
RETURN VALUE
0. Success
1. Incorrect syntax
EXAMPLES
The following example finds an error that user is an invalid user
# rbacdbchk
[/etc/rbac/user_role] John: Administrator
invalid user
The value 'John' for the Username field is bad.
The following example finds a syntax error, an extra colon at the end of a line:
# rbacdbchk
[/etc/rbac/user_role] root: Administrator:
invalid name: Not alphanumeric
The value 'Administrator:' for the Rolename field is bad.
[Role in role_auth DB with no assigned user in user_role DB]
Administrator:(hpux.*, *)
The following example finds a field missing:
# rbacdbchk
[/etc/rbac/roles] : my comment
invalid name: <empty>
The value '' for the Rolename field is bad.
The following example finds a bad role:
# rbacdbchk
[Role in role_auth DB with no assigned user in user_role DB]
blah:(hpux.*, *)
[Invalid Role in role_auth DB. Role 'blah' does not exist in the roles DB]
blah:(hpux.*, *)
The following example finds a bad group name:
# rbacdbchk
[/etc/rbac/user_role] &blah: Administrator
invalid group
The value 'blah' for the Group name field is bad.
FILES
Database containing valid definitions of all roles.
Database containing definitions of all valid authorizations.
Database specifying the roles for each specified user.
Database that defines the authorizations for each role.
Database containing the authorization to execute specified commands,
and the privileges to alter uid and gid for command execution.
Database that defines the role-to-authorization to audit
SEE ALSO
authadm(1M), cmdprivadm(1M), privrun(1M), rbac(5).
rbacdbchk(1M)