tankpasswd

Generates a password file that enables you to log in to the administrative command-line interface, also known as sfscli.

Read syntax diagramSkip visual syntax diagram
>>-tankpasswd-- -u --user_name-- -p --password-----------------><

Parameters

–u user_name
Specifies the user name.
–p password
Specifies the password associated with the given user name.

Description

This command must be run before you attempt to log on to the administrative CLI for the first time and when your password changes.

This command creates a password file, named tank.passwd, in your home directory. By default, the sfscli utility expects this file to be in your home directory. You can change this location by modifying the SFS_CLI_PASSWDFILE environment variable.

Note: You must move the password file to the location expected by the sfscli utility.

The user ID and password that you specify in this command must be the same user ID and password that is specified in the LDAP server by your system administrator. The LDAP server is used to connect to the administrative agent, which authorizes or denies access to SAN File System each time you attempt to use the sfscli utility.

Example

Generate the password file The following example generates a password file for user saki:
$ pwd
/home/saki
$ tankpasswd -u saki -p mypassword
The password file was successfully written to: /home/saki/.tank.passwd

Parent topic: Administrative CLI overview

Related reference
Environment variables

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.