Merge pull request #1788 from YunoHost/fix-root-ssh-keys

[fix] List root ssh keys
This commit is contained in:
Alexandre Aubin 2024-02-29 18:40:13 +01:00 committed by GitHub
commit 345ad8c31a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -172,7 +172,7 @@ def _get_user_for_ssh(username, attrs=None):
"username": "root", "username": "root",
"fullname": "", "fullname": "",
"mail": "", "mail": "",
"home_path": root_unix.pw_dir, "homeDirectory": root_unix.pw_dir,
} }
# TODO escape input using https://www.python-ldap.org/doc/html/ldap-filter.html # TODO escape input using https://www.python-ldap.org/doc/html/ldap-filter.html