Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

userdbck(1m) [hpux man page]

userdbck(1M)															      userdbck(1M)

NAME
userdbck - verify or fix information in the user database, /var/adm/userdb SYNOPSIS
[file] DESCRIPTION
verifies the information in the user database reports inconsistencies, and fixes problems. If no options and no arguments are specified, reports all data corruption problems in all files in If the option is also specified, each reported problem is repaired. If a file argument (hex 00-ff) is specified, only that file in the directory is verified. Options The following options are recognized: Verify attributes. Information in is used to report any attribute that is not valid, not allowed in the user database, has an invalid value, or is allowed only for a local user and the user is not in Normally when the user database is disabled (see userdb(4)), immediately exits without verifying or repairing the database. The option overrides this and forces to verify or repair the database. Verify user names. User names found in the database are reported if they do not exist in any of the repositories defined in This option could take a long time on a system with many users. Repair all data corruption problems that are found. If this option is not specified, problems are reported but not repaired. Notes Only users who have read and write access to can run RETURN VALUE
exits with one of the following values: success: no inconsistencies were found inconsistencies were found and fixed invalid usage database is disabled; see userdb(4) inconsistencies were found but not fixed, because the option was not specified a problem was found that could not be fixed EXAMPLES
In the following example, all problems in the user database are reported but not repaired. In the following example, all problems in file are reported and repaired. FILES
user database security defaults configuration file security attributes description file SEE ALSO
userdbget(1M), userdbset(1M), userdb_read(3), security(4), userdb(4). userdbck(1M)

Check Out this Related Man Page

userdbget(1M)															     userdbget(1M)

NAME
userdbget - display information residing in the user database, /var/adm/userdb SYNOPSIS
name [attr]... [attr]... DESCRIPTION
displays the per-user information residing in the user database as a sequence of pairs. Each pair is printed on a separate line and is preceded by the username. A per-user value in the user database, overrides any system-wide default configured in See userdb(4) and secu- rity(4) for more details about the user database and system-wide defaults, respectively. If no attr arguments are specified on the command line, displays all configurable attributes of users in the user database. If one or more attr arguments are specified, displays only those attributes. Options The following options are recognized: Display attributes of all users in the user database. Display internal attributes, in addition to the configurable ones. Internal attributes are not user configurable and are normally modified only by programs that enforce system security. The file indicates which attributes are configurable and which are internal. Display attributes for only the specified user name. Notes Only users who have read and write access to can run RETURN VALUE
exits with one of the following values: success invalid user invalid usage insufficient permission to access the user database file system error invalid attribute; does not allow a per-user value an attribute value is not within the range specified in block overflow entry overflow database lock failure database is disabled; see userdb(4) invalid user name not a local user EXAMPLES
In the following example, all attributes for user are printed. The audit flag for user is enabled. The display last login feature is dis- abled. In the next example, only specific attributes are printed. The audit flag for user is enabled. No value is printed for because that attribute is not defined for user the minimum password length for user is the system-wide default defined in (see security(4)). In the last example, prints all configurable attributes of all users in the user database. FILES
user database security defaults configuration file security attributes description file SEE ALSO
userdbck(1M), userdbset(1M), userdb_read(3), security(4), userdb(4). userdbget(1M)
Man Page