Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: wmac on November 24, 2020, 02:12:41 PM

Title: Suddenly cannot ssh with root anymore (requirement uid>= 1000'' not met by user)
Post by: wmac on November 24, 2020, 02:12:41 PM
Hello

My server was up and running and suddenly this is what happens. I try to SSH to root (using my trusted private key) and server disconnects and this is the error I see in the logs:

pam_succeed_if(sshd:auth): requirement uid >= 1000'' not met by user root

What has happened? What should I do?
Title: Re: Suddenly cannot ssh with root anymore (requirement uid>= 1000'' not met by user)
Post by: FreshLondon on November 24, 2020, 03:51:37 PM
Try disabling SELinux and seeing if that helps:
https://linuxize.com/post/how-to-disable-selinux-on-centos-7/
Title: Re: Suddenly cannot ssh with root anymore (requirement uid>= 1000'' not met by user)
Post by: wmac on November 24, 2020, 04:36:51 PM
Thank you very much for your help.

Strange thing... it resolved automatically after a reboot

The SElinux was already disabled.