Bug 1257483
Summary: | There is no need to set expire_password after set a new password in qemu when the old password expired | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | jingzhao <jinzhao> |
Component: | qemu-kvm-rhev | Assignee: | Gerd Hoffmann <kraxel> |
Status: | CLOSED NOTABUG | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.2 | CC: | huding, jinzhao, juzhang, knoel, mazhang, virt-maint, xfu |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-12 09:49:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
jingzhao
2015-08-27 07:54:03 UTC
(In reply to jingzhao from comment #0) > Description of problem: > There is no need to set expire_password after set a new password in qemu > when the old password expired So if I understood correctly, what you mean is that expiration remains in effect even after changing the password to a new one. Is that right? (In reply to Ademar Reis from comment #2) > (In reply to jingzhao from comment #0) > > Description of problem: > > There is no need to set expire_password after set a new password in qemu > > when the old password expired > > So if I understood correctly, what you mean is that expiration remains in > effect even after changing the password to a new one. > > Is that right? [Jing Zhao] Yes, I think there have two options 1. The old password didn't expired but I want to change to a new password - expected result: I think the expiration remains in effect 2. The old password expired and I changed to a new password - expected result: I think there is no need to do expiration if I didn't want after changed the password. Works as intended. expire_password sets the expire time, and if you specify a relative time (like +10) this is relative to the time you issued the expire_password command. set_password has no effect at all on the expire time. So, if you want the new password be valid for a certain time you need to issue both set_password and expire_password commands. If you want turn off expiration use "expire_password vnc never". |