ipmcset -t user -d firstloginpolicy
更新时间: 2026/07/28
在Gitcode上查看源码

Back to Overview

Command Function

Set user first login password reset policy

Command Format

ipmcset -t user -d firstloginpolicy -v <username> <option>

Command type

ipmcset

Parameters

NameTypeRequiredDefaultConstraintDescription
usernamestringYes-RegexContain any digits, letters, or characters except (:,&lt;>&"'/%) and space. User name's length is limitted to 1-16. User name cannot start with character "#" "+" or "-". User name cannot be just a dot (.) or two consecutive dots (..).
optionintegerYes-Type: Enum; Enum: 1, 21 : PromptPasswordReset 2 : ForcePasswordReset

Regex正则表达式

  • username
^(?!.*[<>&,'/\%:" ])(?=[A-Za-z0-9`~!@#$%^&*()_+-=&#123;&#125;;[\]?.|])(?!#)(?!\+)(?!-)([A-Za-z0-9`~!@#$%^&*()_+-={};[\]?.|]{1,16})$

Output Examples

None

Config source

interface_config/cli/ipmcset/user.json