git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@2461 77e5149b-7576-45b1-b177-96237e5ba77b
| ... | ... |
@@ -1,3 +1,7 @@ |
| 1 |
+Sun Oct 29 19:28:20 CET 2006 (tk) |
|
| 2 |
+--------------------------------- |
|
| 3 |
+ * configure: make user/group check more precise (closes bug#41) |
|
| 4 |
+ |
|
| 1 | 5 |
Sun Oct 29 19:22:00 CET 2006 (tk) |
| 2 | 6 |
--------------------------------- |
| 3 | 7 |
* clamd/session.c: VERSION now prints details for daily.inc (closes bug#107) |
| ... | ... |
@@ -15629,8 +15629,8 @@ then |
| 15629 | 15629 |
{ echo "$as_me:$LINENO: checking for $clamav_user in /etc/passwd" >&5
|
| 15630 | 15630 |
echo $ECHO_N "checking for $clamav_user in /etc/passwd... $ECHO_C" >&6; } |
| 15631 | 15631 |
if test -r /etc/passwd; then |
| 15632 |
- clamavuser=`cat /etc/passwd|grep $clamav_user` |
|
| 15633 |
- clamavgroup=`cat /etc/group|grep $clamav_group` |
|
| 15632 |
+ clamavuser=`cat /etc/passwd|grep ^"$clamav_user":` |
|
| 15633 |
+ clamavgroup=`cat /etc/group|grep ^"$clamav_group":` |
|
| 15634 | 15634 |
fi |
| 15635 | 15635 |
else |
| 15636 | 15636 |
{ echo "$as_me:$LINENO: checking for $clamav_user using id" >&5
|
| ... | ... |
@@ -926,8 +926,8 @@ then |
| 926 | 926 |
then |
| 927 | 927 |
AC_MSG_CHECKING(for $clamav_user in /etc/passwd) |
| 928 | 928 |
if test -r /etc/passwd; then |
| 929 |
- clamavuser=`cat /etc/passwd|grep $clamav_user` |
|
| 930 |
- clamavgroup=`cat /etc/group|grep $clamav_group` |
|
| 929 |
+ clamavuser=`cat /etc/passwd|grep ^"$clamav_user":` |
|
| 930 |
+ clamavgroup=`cat /etc/group|grep ^"$clamav_group":` |
|
| 931 | 931 |
fi |
| 932 | 932 |
else |
| 933 | 933 |
AC_MSG_CHECKING(for $clamav_user using id) |