FIXED - NEMS 1.3 User Creation Issue
Posted: Fri Nov 17, 2017 7:09 am
Hi, this could not be a bug but an improvement.
I was noticed that in NEMS 1.2.3 i was able to create a username with the first letter in capital (Kuesco).
I backed up config and created a new SD with NEMS 1.3 just to do a fresh install and test after the SSL and Migrator bugs was resolved.
This time, during user creation dialog i wrote Kuesco as username and nems-init complained about the username being not conformant and then the proccess shows some errors (can´t create www-data and don´t delete nagiosadmin between others).
In the end i can still go into Nagios Core using Kuesco as username, but login to webmin is not allowed.
nagiosadmin is still here but is not usable anymore.
If i try to SSH to the PI to re run nems-init i can´t login as nagiosadmin nor Kuesco nor PI users are SSH enabled or the passwords are not the defaults anymore.
If i use a username without capital letters (kuesco) all is fine.
Maybe nems-init can alert the user if the username you choose is not allowed or not conformant with NEMS needs?
I was noticed that in NEMS 1.2.3 i was able to create a username with the first letter in capital (Kuesco).
I backed up config and created a new SD with NEMS 1.3 just to do a fresh install and test after the SSL and Migrator bugs was resolved.
This time, during user creation dialog i wrote Kuesco as username and nems-init complained about the username being not conformant and then the proccess shows some errors (can´t create www-data and don´t delete nagiosadmin between others).
In the end i can still go into Nagios Core using Kuesco as username, but login to webmin is not allowed.
nagiosadmin is still here but is not usable anymore.
If i try to SSH to the PI to re run nems-init i can´t login as nagiosadmin nor Kuesco nor PI users are SSH enabled or the passwords are not the defaults anymore.
If i use a username without capital letters (kuesco) all is fine.
Maybe nems-init can alert the user if the username you choose is not allowed or not conformant with NEMS needs?