Hi All,
I am facing a strange issue on my CentOS VM which is hosted on Google Cloud. The root account getting locked whenever the servers are rebooted after some time. I checked the root user password config. It seems to be ok.
Please refer to the attached.
Is there anyone facing a similar issue?
CentOS 7- Root account getting locked
Re: CentOS 7- Root account getting locked
Nothing attached.
Never used google cloud but some providers disable root and make you use a non-root userid that then has full sudo ability.
Never used google cloud but some providers disable root and make you use a non-root userid that then has full sudo ability.
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Re: CentOS 7- Root account getting locked
Thanks for your reply TrevorH.
My apologies, I have attached the root user password policy.
My apologies, I have attached the root user password policy.
Re: CentOS 7- Root account getting locked
Is the "lock" really in passwd/shadow, or is it in sshd config, PAM access, etc?
Re: CentOS 7- Root account getting locked
As I said, I would suspect this is policy at GCP. Check in /etc/cloud/cloud.cfg and see if it contains e.g. "disable_root: 1"
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke