distro/rhel86: disable pw auth for EC2 images
Disable loging in via password authentication since this is an official Amazon marketplace requirement Linux-based AMIs must not allow SSH password authentication. Disable password authentication via your sshd_config file by setting PasswordAuthentication to NO. Section "Security policies" from https://docs.aws.amazon.com/marketplace/latest/userguide/product-and-ami-policies.html
This commit is contained in:
parent
8aede24057
commit
90cebf0337
10 changed files with 73 additions and 0 deletions
|
|
@ -1031,6 +1031,14 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.sshd.config",
|
||||
"options": {
|
||||
"config": {
|
||||
"PasswordAuthentication": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -1015,6 +1015,14 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.sshd.config",
|
||||
"options": {
|
||||
"config": {
|
||||
"PasswordAuthentication": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -1058,6 +1058,14 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.sshd.config",
|
||||
"options": {
|
||||
"config": {
|
||||
"PasswordAuthentication": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -1072,6 +1072,14 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.sshd.config",
|
||||
"options": {
|
||||
"config": {
|
||||
"PasswordAuthentication": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -1045,6 +1045,14 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.sshd.config",
|
||||
"options": {
|
||||
"config": {
|
||||
"PasswordAuthentication": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -1061,6 +1061,14 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.sshd.config",
|
||||
"options": {
|
||||
"config": {
|
||||
"PasswordAuthentication": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -1248,6 +1248,14 @@
|
|||
"profile": "sssd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.sshd.config",
|
||||
"options": {
|
||||
"config": {
|
||||
"PasswordAuthentication": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -1416,6 +1416,14 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.sshd.config",
|
||||
"options": {
|
||||
"config": {
|
||||
"PasswordAuthentication": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "org.osbuild.fstab",
|
||||
"options": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue