RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1485438 - Second Factor optional even though host auth-ind=otp
Summary: Second Factor optional even though host auth-ind=otp
Keywords:
Status: CLOSED DUPLICATE of bug 1402056
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-25 17:43 UTC by Wen Liang
Modified: 2017-08-30 16:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-30 16:12:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wen Liang 2017-08-25 17:43:01 UTC
Setup:

> ipa user-mod user1 --user-auth-type=otp --user-auth-type=password
> ipa host-mod host1 --auth-ind=otp
> ssh user1@host1
First Factor:
Second Factor (optional):

Issue:

Shouldn't "Second Factor" be required?

Comment 2 Sumit Bose 2017-08-30 09:36:54 UTC
I would say no because there are two independent steps here authentication and authorization.

Getting and validating the user's credentials is authentication. Checking whether the user is allowed to log in is authorization. If e.g. a HBAC rule denies access to a specific user on a host the user is prompted for the password as well although he can never log in due to the HBAC rule.

If you'd like to change the prompting in general this is tracked by https://bugzilla.redhat.com/show_bug.cgi?id=1402056.

Hence I'd like to close this ticket either as NOTABUG or as duplicate to #1402056. What would you prefer?

Comment 3 Wen Liang 2017-08-30 14:31:54 UTC
Thank you for the clarification.  Yes, bug 1402056 could have helped here so not to confuse the users.

Comment 4 Sumit Bose 2017-08-30 16:12:58 UTC
ok, thank you for the feedback, then I close this a duplicate.

*** This bug has been marked as a duplicate of bug 1402056 ***


Note You need to log in before you can comment on or make changes to this bug.