--- login/Makefile 2006-01-26 00:35:43.000000000 +0000 +++ login/Makefile 2006-01-26 00:39:17.000000000 +0000 @@ -48,6 +48,7 @@ include ../Rules CFLAGS-getpt.c = -fexceptions +LDFLAGS += -Wl,-z,now ifeq (yes,$(build-static-nss)) otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \ @@ -57,7 +58,7 @@ # pt_chown needs to be setuid root. $(inst_libexecdir)/pt_chown: $(objpfx)pt_chown $(+force) $(make-target-directory) - -$(INSTALL_PROGRAM) -m 4755 -o root $< $@ + -$(INSTALL_PROGRAM) -m 4711 -o root $< $@ # Depend on libc.so so a DT_NEEDED is generated in the shared objects. # This ensures they will load libc.so for needed symbols if loaded by