NON PAM Makefile newrole
Subsystems (2)
PATCH 1/1 NON PAM Makefile newrole
Included is a patch to install newrole mode 4511 for NON-PAM installs, needed for NON-ROOT newrole operation.
Other than that, se-linux is working great with slackware 9.0, with a "more involved" install procedure.
Signature · 2 lines
Jack <[email protected]> RaptureSecurity
Makefile +4 -3
@@ -42,13 +42,14 @@ $(CC) $(LDFLAGS) $(CFLAGS) -o newrole newrole.c $(LIBFLAGS) install : all - install -m 555 -o root -g root $(PROGS) $(DESTDIR) install -m 644 -o root -g root newrole.1 $(MANDIR)/man1/ if [ -d /etc/pam.d ]; then \ + install -m 555 -o root -g root $(PROGS) $(DESTDIR); \ rm -f /etc/pam.d/newrole; \ sed "/pam_rootok.so/d" /etc/pam.d/su > /etc/pam.d/newrole; \ - fi; - + else \ + install -m 4511 -o root -g root $(PROGS) $(DESTDIR); \ + fi; clean: rm -f $(PROGS) *.o
Only in newrole: newrole