GCP Login policy for instances

Inside gcp instance, there is missing pam.d module. Also it has it's own wrapper over ssh, so you have to use glcoud tool's ssh to get into the instance. While it is easy to setup login lockout policy in AWS in the /etc/pam.d/password-auth, I have not found any documentation on how to do it in google. Should I just install the pam module and set the same settings as in AWS, and that way I can control after how many login attempts (key or password). All I want is to limit the amount of times users can try to login, regardless if it is password or key.

0
задан 23 March 2018 в 20:25
1 ответ

Извините, должно быть, было очень поздно, я искал не в том каталоге. Ничего общего с Google, это зависит от того, какой Linux вы используете в Google или от любого облачного провайдера. Я использовал Centos, и там были файлы /etc/pam.d/password-auth и system-auth. Я искал не ту папку.

1
ответ дан 4 December 2019 в 16:00

Теги

Похожие вопросы