From 02803cb57455bf0cdfb93c28941ae154777bd149 Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Fri, 14 Jun 2024 09:42:27 +0100 Subject: [PATCH] restrain users permision --- resources/providers/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/providers/config.rb b/resources/providers/config.rb index c3b58f4..0002df9 100644 --- a/resources/providers/config.rb +++ b/resources/providers/config.rb @@ -19,7 +19,7 @@ end execute 'create_user' do - command '/usr/sbin/useradd -r minio' + command '/usr/sbin/useradd -r minio -s /sbin/nologin' ignore_failure true not_if 'getent passwd minio' end