utmp

simple login manager
git clone git://git.suckless.org/utmp
Log | Files | Refs | README | LICENSE

commit fb5997dc0ba9a458e9ebc79252e54a5f93e6bab8
parent d1b12bf78c564681c4fc1c5c0f36b3efe499f7d8
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed, 31 Oct 2012 21:32:10 +0100

Setting the setgid bit at the right moment. Thanks Stephen Paul Weber for
reporting this!
Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -41,8 +41,8 @@ install: all @mkdir -p ${DESTDIR}${PREFIX}/bin @cp -f utmp ${DESTDIR}${PREFIX}/bin @chmod 755 ${DESTDIR}${PREFIX}/bin/utmp - @chmod g+s ${DESTDIR}${PREFIX}/bin/utmp @chgrp ${GROUP} ${DESTDIR}${PREFIX}/bin/utmp + @chmod g+s ${DESTDIR}${PREFIX}/bin/utmp @echo installing manual page to ${DESTDIR}${PREFIX}/man1 @mkdir -p ${DESTDIR}${MANPREFIX}/man1 @sed "s/VERSION/${VERSION}/g" < utmp.1 > ${DESTDIR}${MANPREFIX}/man1/utmp.1