From df4a2ae92b48d98805c3037c93eda62ada12a5b3 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Thu, 2 Jun 2011 13:32:53 +0200 Subject: [PATCH] postgresql: change home and shell of postgres user --- database/postgresql/postsysfiles.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/database/postgresql/postsysfiles.in b/database/postgresql/postsysfiles.in index d5c09279d..4fac06be0 100644 --- a/database/postgresql/postsysfiles.in +++ b/database/postgresql/postsysfiles.in @@ -2,6 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../postgresql/postsysfiles.in +# Copyright (C) 2011 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -11,5 +12,6 @@ # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- + safe_groupadd postgres 42 -safe_useradd postgres 42 42 "postgresql" /opt/postgresql /bin/bash "*" +safe_useradd postgres 42 42 "postgresql" /var/empty /bin/false "*"