[Bug 340737] New: No easy way to disable sourcing profile files from /etc/ profile.d/
https://bugzilla.novell.com/show_bug.cgi?id=340737 Summary: No easy way to disable sourcing profile files from /etc/profile.d/ Product: openSUSE 10.3 Version: Final Platform: i686 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: piernik@gmail.com QAContact: qa@suse.de Found By: --- Background: Profile files in /etc/profile.d/ are stored with 644 permissions. /etc/profile sources every file ending in .sh from that dir and there are three ways to disable certain, not wanted file from being sourced: 1) chmod 0 /etc/profile.d/something.sh This will disable something.sh for users, but not for root. 2) remove or move something.sh out of /etc/profile.d/ something.sh will come back when corresponding package gets an update or reinstall 3) change extension from .sh as above Proposal: Install /etc/profile.d/ files with +x permission and source them based on +x, not +r. Administrator could disable one doing chmod -x. When package get reinstalled or updated, something.sh.rpmnew will be created. We get something.sh permanently disabled (until administrator decides otherwise). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=340737
Mark Gordon
https://bugzilla.novell.com/show_bug.cgi?id=340737
User ro@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=340737#c1
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=340737
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=340737#c2
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=340737
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=340737#c3
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=340737
User piernik@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=340737#c4
--- Comment #4 from Krzysztof Kotlenga
https://bugzilla.novell.com/show_bug.cgi?id=340737
User piernik@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=340737#c5
--- Comment #5 from Krzysztof Kotlenga
https://bugzilla.novell.com/show_bug.cgi?id=340737
User werner@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=340737#c6
--- Comment #6 from Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com