Closed tomdereub closed 5 years ago
Looks like it's a bug from the admin panel, unless you have an error during the install process. But, if the field can't be left empty, then that's an issue from the admin panel. In that case, you should open an issue on the bug tracker of YunoHost directly. https://github.com/YunoHost/issues/issues
Now I have the contrary, I can't install it without password, even in command line...
Is it a error message about the size of your password ? With a disclaimer about the password not being strong enough ?
Yes it is, if you don't give a password it says "password must be minimum 8 characters".
Le 26 mars 2019 16:32:09 GMT+01:00, Maniack Crudelis notifications@github.com a écrit :
Is it a error message about the size of your password ? With a disclaimer about the password not being strong enough ?
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/YunoHost-Apps/ssh_chroot_dir_ynh/issues/8#issuecomment-476704883
I opened an issue about it months ago https://github.com/YunoHost/issues/issues/1261
Meanwhile, you can use one of those 2 commands (don't know which one concerns apps)
sudo yunohost settings set security.password.admin.strength -v -1
sudo yunohost settings set security.password.user.strength -v -1
sudo yunohost settings get security.password.admin.strength
will gives you the value it contains if you want to set it back.
The 2 previous will get rid of the limitation about passwords in YunoHost globally.
Ok, but if you do that, it will give an empty password, won't it ? My idea is to make it impossible to connect with password, not to give an empty password that would give an easy access.
No the password is optional, if you don't give one the app will use the ssh key only. The problem here is that YunoHost won't allow an empty password, even if it's optional into the manifest. The fix done by Aleks will probably fix that. I need to find some will to try it...
Ok, this solution worked. I set the user to -1 during installation, then 1 again, thanks !
C'est marqué comme optionnel, mais on ne peut pas la laisser vide, même si le mot de passe est fourni. Edit : via l'interface admin, en ligne de commande ça marche.