HP-UX System Administrator's Guide: Security Management HP-UX 11i v3 (B3921-90020, September 2010)

Table Of Contents
Table 3-4 User Database Manpages (continued)
DescriptionManpage
Describes userdbck functionality and syntax.
userdbck(1M)
Describes the userstat functionality and syntax.
userstat(1M)
3.2.4 Configuring Attributes in the User Database
In previous HP-UX systems, security attributes and password policy restrictions were
set a systemwide basis. With HP-UX SMSE, you can configure some security attributes
on a per-user basis. Attributes configured per-user override systemwide configured
attributes.
To modify a user's attribute values, follow these steps:
1. Decide which users to modify and which attributes will apply to them.
For example, you want user joe to be able to log in to the system only from 8am
to 5pm on Mondays.
2. Change the attributes using the userdbset command as follows:
# userdbset -u user-name attribute-name=attribute-value
For example, to specify that user joe can log in to the system only from 8am to
5pm, enter:
# userdbset -u joe LOGIN_TIMES=Mo0800-1700
3.2.5 Troubleshooting the User Database
Use the following procedures to troubleshoot the user database.
Problem 1: A user's security attributes seems to be misconfigured. If you suspect that
user information is misconfigured in the user database, run the following command:
# userdbget -u username
The attributes configured for the user username are displayed. If an attribute is
misconfigured, reconfigure the attribute. Refer to “Configuring Attributes in the User
Database” for instructions.
Problem 2: The user database is not functioning properly. If you need to check the
user database, run the following command:
# userdbck
The userdbck command identifies and repairs problems in the user database.
3.2 Security Attributes and the User Database 65