cvs commit: src/usr.bin/login Makefile

Nate Lawson nate at root.org
Fri Feb 27 10:50:54 PST 2004


On Fri, 27 Feb 2004, Dag-Erling Smorgrav wrote:
>   Modified files:
>     usr.bin/login        Makefile
>   Log:
>   Re-add the setuid bit, conditional on NO_SETUID_LOGIN being undefined.
>
>   Revision  Changes    Path
>   1.45      +5 -0      src/usr.bin/login/Makefile
>
>
> Index: src/usr.bin/login/Makefile
> diff -u src/usr.bin/login/Makefile:1.44 src/usr.bin/login/Makefile:1.45
> --- src/usr.bin/login/Makefile:1.44	Fri Feb 27 00:39:16 2004
> +++ src/usr.bin/login/Makefile	Fri Feb 27 09:50:59 2004
> @@ -7,6 +7,11 @@
>  DPADD=	${LIBUTIL} ${LIBPAM}
>  LDADD=	-lutil ${MINUSLPAM}
>  MAN=	login.1 login.access.5
> +.ifdef NO_SETUID_LOGIN
> +BINOWN= root
> +BINMODE=4555
> +INSTALLFLAGS=-fschg
> +.endif
>  NEED_LIBNAMES= yes
>
>  .include <bsd.prog.mk>

I believe this should be ifndef for the proper behavior.

-Nate


More information about the cvs-src mailing list