GLYPH<SM590000> showpass 

The properties for passwords (Password Expiration days and Failed Logins Allowed) are listed by using this command. Example 12-15 shows that passwords are set to expire in 90 days and that four login attempts are allowed before a user ID is locked. 

## 12.1.8 DS CLI profile 

dscli> showpass Password Expiration 365 days Failed Logins Allowed 5 Password Age 0 days Minimum Length 6 Password History 4 

To access the DS8900F with the DS CLI, you must provide certain information with the dscli command. At a minimum, the IP address or host name of the DS8900F HMC, a user name, and a password are required. You can also provide other information, such as the output format for list commands, the number of rows for each page in the command-line output, and whether a banner is included with the command-line output. 

If you create one or more profiles to contain your preferred settings, you do not need to specify this information each time that you use the DS CLI. When you start the DS CLI, you can specify a profile name by using the dscli  command. You can override the values of the profile by specifying a different parameter value with the dscli  command. 

When you install the command-line interface software, a default profile is installed in the profile directory with the software. The file name is dscli.profile . For example, use c:\Program Files (x86)\IBM\dscli for Windows 8 (and later) and /opt/ibm/dscli/profile/dscli.profile  for AIX (UNIX) and Linux platforms. 

The following options are available for using profile files: 

GLYPH<SM590000> You can modify the system default profile: dscli.profile . 

GLYPH<SM590000> You can create a personal default profile by copying the system default profile as < user_home >/dscli/profile/dscli.profile . The default home directory < user_home >  is in the following directories: 

– Windows system:  %USERPROFILE% usually C:\Users\Administrator 

– UNIX/Linux system: $HOME 

GLYPH<SM590000> You can create specific profiles for different storage units and operations. Save the profile in the user profile directory, for example: 

– %USERPROFILE%\IBM\DSCLI\profile\operation_name1 

– %USERPROFILE%\IBM\DSCLI\profile\operation_name2 

Default profile file:  The default profile file that you created when you installed the DS CLI might be replaced every time that you install a new version of the DS CLI. It is a good practice to open the default profile and then save it as under a new file. You can then create multiple profiles and reference the relevant profile file by using the -cfg  parameter. 

The following example uses a different profile when it starts the DS CLI: dscli -cfg newprofile.profile  (or whatever name you gave to the new profile). 

