[packages/open-vm-tools] add usable pam config

glen glen at pld-linux.org
Tue Sep 4 11:13:53 CEST 2018


commit 70df2ca85a782f45d01fc5414b92bc12f07ccc2a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Sep 4 12:02:35 2018 +0300

    add usable pam config
    
    there's no pam_unix_acct.so or pam_unix_auth.so in pld. so just use include from system auth.
    
    Sep  4 11:03:36 cemetery VGAuth[1357]: PAM unable to dlopen(/lib64/security/pam_unix_auth.so): /lib64/security/pam_unix_auth.so: cannot open shared object file: No such file or directory
    Sep  4 11:03:36 cemetery VGAuth[1357]: PAM adding faulty module: /lib64/security/pam_unix_auth.so
    Sep  4 11:03:36 cemetery VGAuth[1357]: PAM unable to dlopen(/lib64/security/pam_unix_acct.so): /lib64/security/pam_unix_acct.so: cannot open shared object file: No such file or directory
    Sep  4 11:03:36 cemetery VGAuth[1357]: PAM adding faulty module: /lib64/security/pam_unix_acct.so
    Sep  4 11:03:36 cemetery VGAuth[1357]: pam_unix(vmtoolsd:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=xxx

 open-vm-tools.spec | 4 +++-
 vmtoolsd.pamd      | 4 ++++
 2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/open-vm-tools.spec b/open-vm-tools.spec
index 643a71c..4758df5 100644
--- a/open-vm-tools.spec
+++ b/open-vm-tools.spec
@@ -7,7 +7,7 @@ Summary:	VMWare guest utilities
 Summary(pl.UTF-8):	Narzędzia dla systemu-gościa dla VMware
 Name:		open-vm-tools
 Version:	10.3.0
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL
 Group:		Applications/System
@@ -18,6 +18,7 @@ Source2:	%{name}-modprobe.d
 Source3:	%{name}-init
 Source4:	%{name}-vmware-user.desktop
 Source5:	vmware-vmblock-fuse.service
+Source6:	vmtoolsd.pamd
 Patch0:		%{name}-dnd.patch
 Patch1:		%{name}-configure.patch
 URL:		https://github.com/vmware/open-vm-tools
@@ -175,6 +176,7 @@ install -d $RPM_BUILD_ROOT/etc/{modprobe.d,rc.d/init.d,xdg/autostart}
 cp %{SOURCE2} $RPM_BUILD_ROOT/etc/modprobe.d/%{name}.conf
 cp %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 cp %{SOURCE4} $RPM_BUILD_ROOT/etc/xdg/autostart/vmware-user.desktop
+cp %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/vmtoolsd
 
 install -d $RPM_BUILD_ROOT%{systemdunitdir}
 cp %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}
diff --git a/vmtoolsd.pamd b/vmtoolsd.pamd
new file mode 100644
index 0000000..a1ac6b1
--- /dev/null
+++ b/vmtoolsd.pamd
@@ -0,0 +1,4 @@
+#%PAM-1.0
+
+auth       include      system-auth
+account    include      system-auth
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/open-vm-tools.git/commitdiff/70df2ca85a782f45d01fc5414b92bc12f07ccc2a



More information about the pld-cvs-commit mailing list