My YunoHost server
Hardware: Computer at home
YunoHost version: 11.2.30
I have access to my server : Through SSH
Are you in a special context, or did you perform some particular tweaking on your YunoHost instance ? : no
What I Did:
- Installed Debian and created an admin user
abc
during the setup. - Installed YunoHost using the curl method.
- Restored my YunoHost server from a backup.
What I Expected:
- The user
abc
should retain or regain its admin rights, including SSH access, and be part of theadmins
group.
What I See:
- The user
abc
is listed in theadmins
group in admin web interface. - However,
abc
does not have admin rights or proper group memberships that allow for SSH access and other admin privileges. - $
sudo getent group admins
shows xxx in the admins group.
admins:*:4001:,abc,cdf,xyz,admin - $
groups abc
shows that xxx is not a part of the admins group.
abc : abc cdrom floppy audio dip video plugdev netdev ssh
- All other users have correct rights and have all the privileges as before.
Questions:
- Can it be mismatching of the UID with account created while installing the Debian and what Yunohost would have in its backup? While in restore, it might have ignored creation of the user with YunoHost assigned UID because the user already existed on Debian. If that is the case, how this mess can be fixed?
- How this can be avoided in the next restore. As the Debian wants the admin user to be given at the time of the installation. Should this user be different from the all the users in the YunoHost?