Feature #2957

Base: first configuration wizard

Added by Giacomo Sanchietti almost 5 years ago. Updated over 4 years ago.

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

100%

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

Description

Create a simple wizard that will be run at first login.
The wizard should guide the admin to configure all basic information.

Steps:
  • server name
  • date and time
  • ssh port
  • remote access
  • root password (if equal to the default)

Finally, the user should be redirect to the network configuration page.


Related issues

Related to NethServer 6 - Feature #2969: Refactor Organization contacts page CLOSED
Related to NethServer 6 - Feature #2975: Phone home CLOSED
Related to NethServer 6 - Feature #2997: Phone home wizard page CLOSED
Related to NethServer 6 - Bug #3023: Date and time panel Save button CLOSED

Associated revisions

Revision d5ec17c3
Added by Davide Principi almost 5 years ago

PHP class moved to nethserver-base. Refs #2957

Revision 66f1dd43
Added by Davide Principi almost 5 years ago

FirstConfigWiz page. Refs #2957

Revision 78979c3d
Added by Davide Principi almost 5 years ago

httpd-admin DB key: added ForcedLoginModule prop. Refs #2957

The value is a module identifier. If it is non-empty, the
server-manager direct any successful login request to the given
module (for FirstConfigWiz).

Revision 54f8cb52
Added by Davide Principi almost 5 years ago

Framework (setForcedLoginModule): forced redirect after login. Refs #2957

Added new method Nethgui\Framework::setForcedLoginModule()

Revision 30c8b282
Added by Davide Principi almost 5 years ago

FirstConfigWiz module final implementation. Refs #2957

Revision 3f5d85fd
Added by Davide Principi almost 5 years ago

Ssh FirstConfigWiz plugin. Refs #2957

Set only the sshd port.

Revision 44530d2f
Added by Davide Principi almost 5 years ago

DateTime FirstConfigWiz plugin. Refs #2957

Set only the time zone.

Revision 68170e11
Added by Davide Principi almost 5 years ago

DateTime FirstConfigWiz plugin. Refs #2957

Set only the time zone.

Revision 6932f122
Added by Davide Principi almost 5 years ago

FirstConfigWiz: redirect to NetworkAdapter module at the end. Refs #2957

Revision 0bb2573e
Added by Davide Principi almost 5 years ago

Online help for FirstConfigWiz module. Refs #2957

Revision 075ed5b7
Added by Davide Principi almost 5 years ago

system-init event: run enable-firstconfigwizard action. Refs #2957

Revision 25e9549c
Added by Davide Principi almost 5 years ago

FirstConfigWiz: set action id to avoid duplicates. Refs #2957

Revision de9e5099
Added by Davide Principi almost 5 years ago

FirstConfigWiz: use hasDefaultPassword User credential. Refs #2957

Revision 16581ae9
Added by Davide Principi almost 5 years ago

Redirect to Network module after events batch has completed. Refs #2957

Revision 39737000
Added by Davide Principi almost 5 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...

Revision ee4a10e8
Added by Davide Principi almost 5 years ago

FirstConfigWiz: changed Next/Back buttons. Refs #2957

Revision 9e4d3d5a
Added by Giacomo Sanchietti almost 5 years ago

FirstConfigWiz: update labels and CSS. Refs #2957

Revision 779d2b61
Added by Davide Principi almost 5 years ago

DateTime FirstConfigWiz plugin. Refs #2957

Set only the time zone.

Revision f6b468a5
Added by Giacomo Sanchietti almost 5 years ago

FirstConfigWiz: update labels. Refs #2957

Revision 9a4d1d80
Added by Giacomo Sanchietti almost 5 years ago

FirstConfigWiz: update labels and CSS. Refs #2957

Revision a90d53fd
Added by Davide Principi over 4 years ago

Added release notes for Software center and First Configuration wizard.

Refs #2963 #2957

Revision f9e4faa8
Added by Giacomo Sanchietti over 4 years ago

FirstConfigWiz: update italian translation: Refs #2957

History

#1 Updated by Giacomo Sanchietti almost 5 years ago

  • Status changed from NEW to TRIAGED
  • Target version set to v6.6-beta1
  • % Done changed from 0 to 20

#2 Updated by Giacomo Sanchietti almost 5 years ago

I would like an implementation with plugin behavior, so any package can add its own page to the wizard.

#3 Updated by Davide Principi almost 5 years ago

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

#4 Updated by Davide Principi almost 5 years ago

  • Related to Feature #2969: Refactor Organization contacts page added

#5 Updated by Giacomo Sanchietti almost 5 years ago

I would also add a page to enable the phone home.

#6 Updated by Giacomo Sanchietti almost 5 years ago

#7 Updated by Davide Principi almost 5 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Test case

  • After upgrading to modified version, enable the wizard
    config setprop httpd-admin ForcedLoginModule FirstConfigWiz
    
  • Connect to https://<server>:980 and login
Complete the wizard steps. Pay attention to
  • Checking the login page directs to FirstConfigWiz module, honouring the user's preferred language
  • Checking the "Root's password" page is displayed only if the root's password is at default value Nethesis,1234

#8 Updated by Davide Principi almost 5 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-22.0git6932f122.ns6.noarch.rpm
nethserver-base-2.5.4-24.0git0330473b.ns6.noarch.rpm
nethserver-base-2.5.4-26.0git25e9549c.ns6.noarch.rpm
nethserver-base-2.5.4-31.0gitde9e5099.ns6.noarch.rpm
nethserver-base-2.5.4-32.0git16581ae9.ns6.noarch.rpm
nethserver-base-2.5.4-41.0gitee4a10e8.ns6.noarch.rpm
nethserver-base-2.5.4-42.0git9e4d3d5a.ns6.noarch.rpm
nethserver-ntp-1.0.7-1.0git68170e11.ns6.noarch.rpm
nethserver-ntp-1.0.7-2.0gitf6b468a5.ns6.noarch.rpm
nethserver-openssh-1.0.8-3.0git3f5d85fd.ns6.noarch.rpm
nethserver-openssh-1.0.8-4.0git9a4d1d80.ns6.noarch.rpm
nethserver-httpd-admin-1.3.5-1.13gitfd13116.ns6.noarch.rpm
nethserver-httpd-admin-1.3.5-1.14git075ed5b.ns6.noarch.rpm

#9 Updated by Davide Principi almost 5 years ago

#10 Updated by Giacomo Sanchietti over 4 years ago

  • Assignee set to Giacomo Sanchietti

#11 Updated by Giacomo Sanchietti over 4 years ago

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

All works as expected.

#12 Updated by Davide Principi over 4 years ago

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

In nethserver-base 6.6
nethserver-openssh-1.0.8-4.0git9a4d1d80.ns6.noarch.rpm
nethserver-base-2.5.5-48.0gita30c1527.ns6.noarch.rpm
nethserver-httpd-admin-1.3.6-2.21git960213c.ns6.noarch.rpm
nethserver-ntp-1.0.7-2.0gitf6b468a5.ns6.noarch.rpm

#13 Updated by Davide Principi over 4 years ago

  • Related to Bug #3023: Date and time panel Save button added

Also available in: Atom PDF