https://bugzilla.novell.com/show_bug.cgi?id=384367
User sbrabec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=384367#c2
--- Comment #2 from Stanislav Brabec 2008-06-06 06:51:57 MDT ---
Looking at the code, author seems to be aware of this problem:
src/npw-config.c:682
int mode = 0700;
if (geteuid() == 0 && strcmp(plugin_dir, "/root") != 0)
mode = 0755;
This apparently does not work, if /root itself is not accessible for users.
I see several possible fixes:
- Disallow installation of custom plugins for root. (Simple, ugly.)
- Implement --system command line option and never touch system paths without
--system (and vice versa) (Clean, a bit more complicated, but changes
interface.)
- Modify binary to run plugin registration twice for root - once as user, once
for system plugins.
--
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.