tacmd tepsLogin
Description
Use the tacmd tepsLogin command to log on to the Tivoli Enterprise Portal Server.
CLI syntax
tacmd tepsLogin
{-s|--server} TEPS_HOSTNAME
{-u|--username} USERNAME
{-p|--password} TEPS_PASSWORD
[{-t|--timeout} TIMEOUT ]
{-s|--server} TEPS_HOSTNAME
{-u|--username} USERNAME
{-p|--password} TEPS_PASSWORD
[{-t|--timeout} TIMEOUT ]
Standard input option:
tacmd tepsLogin
{-stdin|--stdin}
{-stdin|--stdin}
where:
- -s|--server
- Specifies the Tivoli® Enterprise Portal Server hostname to connect to.
- -u|--username
- Specifies the username to log on to the Tivoli Enterprise Portal Server. The software prompts you for the username if you do not specify one.
- -p|--password
- Specifies the password for user authentication. The software prompts you for the password if you do not specify one.
- -t|--timeout
- Specifies the maximum number of minutes that can elapse between invocations of the tacmd tepsLogin command before the user is denied access to the Teps credentials file. The default timeout is 15 minutes. The maximum timeout is 1440 minutes (24 hours).
- -stdin|--stdin
- Indicates that all command-line parameters are processed from standard input (in the same command-line format) instead of being parsed from the command-line arguments.
CLI example
The following example shows how to log in on the command line with a specific username. The user is prompted to enter a password. The log in is valid for 24 hours (1,440 minutes):
C:\IBM\ITM\bin>tacmd tepslogin -s lever -u sysadmin -t 1440 Password? KUICTL001I Validating user credentials... KUIC00007I: User sysadmin logged on to server on http://lever:1920.
The following example shows how to log in with only the server and time specified. The user is prompted to enter a username and a password. The log in is valid for 1 hour (60 minutes).
C:\IBM\ITM\bin>tacmd tepslogin -s lever -t 60 Username? sysadmin Password? KUICTL001I Validating user credentials... KUIC00007I: User sysadmin logged on to server on http://lever:1920.
Related commands
Attention: A variety of commands that communicate with the Tivoli
Enterprise Portal Server are authenticated using one of two methods:
- Use the tacmd tepsLogin command with -u, -p, and -s options to autenticate to the Tivoli Enterprise Portal Server. Then use the related command (for example, the tacmd createUser command or the tacmd listworkspaces command), or
- Use the related command you want to use (for example, the tacmd createUser command or the tacmd listworkspaces command). However, you should specify the -u, -p, and -s options. If you don't specify the -s option, but you specify the -w and -u options for a command that communicates with the Tivoli Enterprise Portal Server, then the command uses the default value for the hostname (-s localhost:1920).
Return to Table 1.