#8244 The help for the --otp flag in "ipa passwd" could be clearer
Closed: fixed 2 years ago by antorres. Opened 3 years ago by abompard.

As a user, I'd like to know what the --otp flag for the ipa passwd command actually does.

Issue

$ ipa passwd --help
Usage: ipa [global-options] passwd USER [options]

Set a user's password.
Options:
  -h, --help  show this help message and exit
  --otp       One Time Password

I know that OTP means One Time Password, what i don't know is that I should use this flag to change my password if I have enrolled an OTP token (it could also mean that the flag will change my token, it could mean anything related to the token).
I suggest a help text that would be something like "add this flag if USER has enrolled an OTP token".

Version/Release/Distribution

freeipa-client-4.8.4-2.fc31.x86_64


The documentation should also mention that current and new password must be just the password without OTP token.

Metadata Update from @antorres:
- Issue assigned to antorres

2 years ago

master:

  • e820e2d ipa passwd: make help for --otp option clearer

Metadata Update from @antorres:
- Custom field affects_doc adjusted to on
- Custom field knownissue adjusted to on
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

ipa-4-9:

  • 74638ed ipa passwd: make help for --otp option clearer

Login to comment on this ticket.

Metadata