It's a gamble, but you're getting the "This account is currently not available" error because the shell for the account is set to /usr/sbin/nologin probably. Check /etc/passwd adn perhaps change it to /bin/bash.
this post was submitted on 12 Oct 2024
9 points (100.0% liked)
Debian operating system
2746 readers
11 users here now
Debian is a free operating system (OS) for your computer. An operating system is the set of basic programs and utilities that make your computer run. Debian provides more than a pure OS: it comes with over 59000 packages, precompiled software bundled up in a nice format for easy installation on your machine.
founded 4 years ago
MODERATORS
It is set to that, but it was set to that before and it still worked.
passwd is still saying the accounts locked.
I'm not sure how you'd be able to sudo su (user name) if that users shell was /usr/sbin/nologin. Maybe you were doing something else if that was indeed the assigned shell.