[ Linux ] Jellyfin 账户被锁定如何解锁

https://www.cnblogs.com/yeungchie/

当管理员账户也被锁定的时候该如何解锁?

修改 sqlite 数据库

UserName=LockedUserName
sqlite3 /config/data/jellyfin.db <<EOF
UPDATE Users SET InvalidLoginAttemptCount = 0 WHERE Username = '$UserName';
UPDATE Permissions SET Value = 0 WHERE Kind = 2 AND UserId IN (SELECT Id FROM Users WHERE Username = '$UserName');
.exit
EOF

参考

Troubleshooting | Jellyfin https://jellyfin.org/docs/general/administration/troubleshooting/#unlock-locked-user-account

posted @ 2024-03-12 22:27  YEUNGCHIE  阅读(138)  评论(0编辑  收藏  举报