From 8cc31e09ad86cc980616a38cea02e9dc1d12f47e Mon Sep 17 00:00:00 2001 From: akdengi Date: Fri, 20 Apr 2012 16:09:16 +0400 Subject: [PATCH] add to /etc/security/group.conf group users for default --- Linux-PAM-1.1.4-group_add_users.patch | 11 +++++++++++ pam.spec | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 Linux-PAM-1.1.4-group_add_users.patch diff --git a/Linux-PAM-1.1.4-group_add_users.patch b/Linux-PAM-1.1.4-group_add_users.patch new file mode 100644 index 0000000..307307c --- /dev/null +++ b/Linux-PAM-1.1.4-group_add_users.patch @@ -0,0 +1,11 @@ +--- Linux-PAM-1.1.4.orig/modules/pam_group/group.conf 2011-06-21 13:04:56.000000000 +0400 ++++ Linux-PAM-1.1.4/modules/pam_group/group.conf 2012-04-20 15:45:10.000000000 +0400 +@@ -101,6 +101,8 @@ + + #xsh; tty* ;%admin;Al0000-2400;plugdev + ++*;*;*;Al0000-2400;users ++ + # + # End of group.conf file + # diff --git a/pam.spec b/pam.spec index d9d62db..c367791 100644 --- a/pam.spec +++ b/pam.spec @@ -19,7 +19,7 @@ Epoch: 1 Summary: A security tool which provides authentication for applications Name: pam Version: 1.1.4 -Release: 7 +Release: 8 # The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant # as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+, License: BSD and GPLv2+ @@ -69,6 +69,9 @@ Patch701: pam-1.1.0-console-nopermsd.patch # (proyvind): add missing constant that went with rpc removal from glibc 2.14 Patch702: Linux-PAM-1.1.4-add-now-missing-nis-constant.patch +# (akdengi> add user to default group users which need for Samba +Patch801: Linux-PAM-1.1.4-group_add_users.patch + BuildRequires: bison BuildRequires: cracklib-devel BuildRequires: flex @@ -169,6 +172,7 @@ mv pam-redhat-%{pam_redhat_version}/* modules %patch700 -p1 -b .static %patch701 -p1 -b .nopermsd %patch702 -p1 -b .nis_const~ +%patch801 -p1 -b .group_users # 08/08/2008 - vdanen - make pam provide pam_unix until we can work out all the issues in pam_tcb; this # just makes things easier but is not meant to be a permanent solution