diff --git a/Makefile b/Makefile index cc6c5df3f..053fe4833 100644 --- a/Makefile +++ b/Makefile @@ -241,11 +241,6 @@ install-files: dbus-install install-conf install-plugins install -d $(DESTDIR)/$(PREFIX)/lib/sysusers.d install -m 644 etc-conf/rhsm-sysuser.conf $(DESTDIR)/$(PREFIX)/lib/sysusers.d/rhsm.conf - if [ -f /etc/redhat-release ]; then \ - install -m 644 etc-conf/subscription-manager.pam $(DESTDIR)/etc/pam.d/subscription-manager; \ - install -m 644 etc-conf/subscription-manager.console $(DESTDIR)/etc/security/console.apps/subscription-manager; \ - fi; \ - install -m 755 bin/rhsmcertd $(DESTDIR)/$(PREFIX)/bin/rhsmcertd .PHONY: check diff --git a/etc-conf/subscription-manager.console b/etc-conf/subscription-manager.console deleted file mode 100644 index 7a9203b7b..000000000 --- a/etc-conf/subscription-manager.console +++ /dev/null @@ -1,3 +0,0 @@ -USER=root -PROGRAM=/usr/sbin/subscription-manager -SESSION=true diff --git a/etc-conf/subscription-manager.pam b/etc-conf/subscription-manager.pam deleted file mode 100644 index c7d67e332..000000000 --- a/etc-conf/subscription-manager.pam +++ /dev/null @@ -1,4 +0,0 @@ -#%PAM-1.0 -auth include config-util -account include config-util -session include config-util diff --git a/subscription-manager.spec b/subscription-manager.spec index 3aaf0a811..d9493bc16 100644 --- a/subscription-manager.spec +++ b/subscription-manager.spec @@ -456,12 +456,6 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \; %{_sbindir}/rcrhsm-facts %{_sbindir}/rcrhsmcertd -%else - -# PAM config -%{_sysconfdir}/pam.d/subscription-manager -%{_sysconfdir}/security/console.apps/subscription-manager - %endif %dir %{python_sitearch}/rhsmlib/candlepin