Previous Topic: check Command—Determine a User's Access AuthorityNext Topic: checkpwd Command—Check a Password for Compliance


checklogin Command—Determine Login Information

Valid in the AC environment

Use the checklogin command to determine a user's login privileges, whether a password check is needed, and whether a terminal access check is needed.

Note: This command is not available when seos is down.

To use this command you must have sufficient authority over the resource, as defined by any of the following conditions:

This command has the following format:

checklogin userName [password(password)] [terminal(terminalName)]
password(password)

(Optional) Defines the password that CA ControlMinder checks against the operating system password and the database, if password checking is enabled.

userName

Defines the name of the user whose right to login is being verified.

terminal(terminalName)

(Optional) Defines the terminal that CA ControlMinder checks to determine if a user has login privileges from it.

Example: Determine whether user has login privileges

To determine whether user Frank has login privileges to the localhost from terminal mutra, enter the following command:

checklogin Frank terminal(mutra)

The following output of the command, indicates that user Frank can login from terminal mutra to host winsome (localhost):

Login by USER frank to host winsome is GRANTED
Stage: Resource class global universal access

To verify user Frank's password, enter the following command:

checklogin frank password(111) terminal(localhost)

To verify user Frank's password against the one in the CA ControlMinder database, enter the following commands:

so class+(PASSWORD) (localhost)
checklogin frank password(moonshine) terminal(tack)

The so command above enables password checking.