From: Stephane Desneux Date: Fri, 3 Oct 2014 13:16:36 +0000 (+0200) Subject: generic-base.post: remove patch on /etc/pam.d/system-auth X-Git-Tag: accepted/tizen/common/20141003.134656^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F57%2F28357%2F2;p=platform%2Fupstream%2Fmeta-generic.git generic-base.post: remove patch on /etc/pam.d/system-auth This is not needed anymore as pam_systemd.so has been removed from /etc/pam.d/system-auth by commit f879c183 on platform/upstream/pam Change-Id: I1f5348bb173dfb79d8e4baf4c584c3c0ff54b395 Bug-Tizen: TC-1357 , TC-1685 Signed-off-by: Stephane Desneux --- diff --git a/scripts/generic-base.post b/scripts/generic-base.post index 5ed3d5c..93efb86 100644 --- a/scripts/generic-base.post +++ b/scripts/generic-base.post @@ -32,20 +32,6 @@ patch -b -p1 -d/ <<'EOF' password required pam_deny.so EOF -# extra fix to avoid root and display sessions (PTREL-763) -patch -b -p1 -d/ <<'EOF' ---- bad/etc/pam.d/system-auth 2014-04-07 06:16:51.888018876 -0700 -+++ good/etc/pam.d/system-auth 2014-04-07 06:16:46.335018503 -0700 -@@ -11,7 +11,6 @@ - password required pam_deny.so - - session optional pam_keyinit.so revoke --session optional pam_systemd.so - session required pam_limits.so - session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid - session required pam_unix.so -EOF - # create appfw dirs inside homes function generic_base_user_exists() { user=$1