Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2004 10:50:54 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Dag-Erling Smorgrav <des@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/login Makefile
Message-ID:  <20040227105019.O86020@root.org>
In-Reply-To: <20040227175103.2B36916A4EA@hub.freebsd.org>
References:  <20040227175103.2B36916A4EA@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040227105019.O86020>