]> arthur.barton.de Git - netatalk.git/commitdiff
Make bin/afppasswd setuid root during install. This lets local users call
authormorgana <morgana>
Sun, 3 Feb 2002 22:03:59 +0000 (22:03 +0000)
committermorgana <morgana>
Sun, 3 Feb 2002 22:03:59 +0000 (22:03 +0000)
afppasswd to update their afppasswd password, similar to the standard unix
passwd program.  Fixes sourceforge bug #230524.

bin/afppasswd/Makefile.am

index 829bdc3b5fbbd4720d937658bed7cbc35a4d6bc5..eff6e884826218cf57101ed91feea84826cde9f5 100644 (file)
@@ -13,3 +13,6 @@ afppasswd_LDADD = $(top_builddir)/libatalk/libatalk.la @SSL_LIBS@
 
 CFLAGS = @CFLAGS@ @SSL_CFLAGS@ -I$(top_srcdir)/sys \
     -D_PATH_AFPDPWFILE=\"$(pkgconfdir)/afppasswd\"
+
+install-exec-hook:
+       chmod u+s $(bindir)/afppasswd