Enhancement #2998

Show default password on server-manager login

Added by Davide Principi over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v6.6-beta1
Resolution: NEEDINFO:No

Description

The login screen validator suggests the default password Nethesis,1234 if root/admin login fails and FirstConfigWiz module is enabled.

Associated revisions

Revision c1fefa04
Added by Davide Principi over 6 years ago

Framework: new setAuthenticationProcedure() method. Refs #2998

The PamAuthenticator class has been moved to nethserver-base
package. The Framework must now be initialized with a proper
authentication procedure.

Revision 9737831a
Added by Davide Principi over 6 years ago

Framework: new setAuthenticationValidator() method. Refs #2998

Use dependency injection to set up user authentication method.

The User::setAuthenticationProcedure() was deprecated. Use the new
User::setAuthenticationValidator() method.

Changed Login module as client of the UserInterface.

Revision c18a4fd0
Added by Davide Principi over 6 years ago

Configure Nethgui\Framework with new PamValidator class. Refs #2998

Revision 1d172dc7
Added by Davide Principi over 6 years ago

Imported PamAuthenticator class from Nethgui project. Refs #2998

Revision 0d6d5f4f
Added by Davide Principi over 6 years ago

Set Log and PhpWrapper objects to PamValidator instances. Refs #2998

Revision ab532828
Added by Davide Principi over 6 years ago

PamValidator: merged with PamAuthenticator. Refs #2998

Compatible with Nethgui\Framework::setAuthenticationValidator() method.

Revision 39737000
Added by Davide Principi over 6 years ago

PamValidator: fix $log variable. Refs #2957 #2998

The IF branch is entered when username is `admin`, but admin does not
exist on a clean ISO installation...

History

#1 Updated by Davide Principi over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#2 Updated by Davide Principi over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60
Test case 1
  • user has the default Nethesis,1234 password
  • Try to login with password xxx: the login error suggests the default password
Test case 2
  • user has a non-default password
  • Try to login with password xxx: the login error says "Invalid credentials"

#3 Updated by Davide Principi over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing (6.6):
nethserver-base-2.5.4-30.0gitab532828.ns6.noarch.rpm
nethserver-httpd-admin-1.3.5-1.15gitc18a4fd.ns6.noarch.rpm

#4 Updated by Giacomo Sanchietti over 6 years ago

  • Assignee set to Giacomo Sanchietti

#5 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Both test cases are verified.

VERIFIED

#6 Updated by Davide Principi over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

In nethserver-base 6.6
nethserver-base-2.5.5-48.0gita30c1527.ns6.noarch.rpm
nethserver-httpd-admin-1.3.6-2.21git960213c.ns6.noarch.rpm

Also available in: Atom PDF