Unable to SSH or Shell login with my user

My YunoHost server

Hardware: HP ML30 Gen9 / VMware ESXI
YunoHost version: (stable)
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

It seems that my user is broken in a way.

with this user i can’t:

  • login on SSH
Permission denied, please try again.

i added the user to admin and even added the SSH permition directly to it.

  • cannot login in shell
su - user1
su: l'utilisateur user1 n'existe pas ou l'entrée de l'utilisateur ne contient pas tous les champs requis

i have other users that have expected behaviors with the actions described above.

there is a difference between the “working” users and my problematic user1. user1 was created in ynh 3.x while the others were created in 4.x or 11.x

I migrated each major version by doing a fresh install and restoring a backup after postinstall.

when i do a:
getent passwd | grep user
i get a result for user2 and user3 but not user1

so i decided to delete and recreate my user.
It had the desired effect by, i believe, recreating a correct entry in the ldap.

it had a side effect though. in the group admin pannel in the web admin my user kept it’s old permissions but they were ineffective. I had to delete everything and recreate them.

1 Like