Error
When you try sudo for root permision you will get below error:
This account is currently not available
Solution
1.Remove nologin from the /etc/passwd file
sudo nano /etc/passwd
Change the "/usr/sbin/nologin" to /bin/bash
2.edit /etc/ssh/sshd_config
PermitRootLogin yes
3. Restart SSH service
systemctl restart ssh
Comments
Post a Comment