From owner-freebsd-ports@FreeBSD.ORG Sat Jun 14 20:22:23 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6F211065671 for ; Sat, 14 Jun 2008 20:22:23 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from lucifer.hellteam.net (lucifer.hellteam.net [88.86.107.21]) by mx1.freebsd.org (Postfix) with ESMTP id 456AA8FC14 for ; Sat, 14 Jun 2008 20:22:23 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from smtp.hellteam.net (rik.hellteam.net [78.108.102.225]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by lucifer.hellteam.net (Postfix) with ESMTPS id 48C1D396; Sat, 14 Jun 2008 21:58:58 +0200 (CEST) Received: from gandalf (gandalf.tocnet28.jspoj.czf [10.40.8.101]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by smtp.hellteam.net (Postfix) with ESMTP id A9763570069; Sat, 14 Jun 2008 21:57:24 +0200 (CEST) From: =?UTF-8?Q?Daniel_Dvo=C5=99=C3=A1k?= To: Date: Sat, 14 Jun 2008 21:57:47 +0200 Organization: Projekt HELL Message-ID: <003701c8ce58$ecc88fb0$6508280a@tocnet28.jspoj.czf> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcjOWOrBS4vNiB9gSkmP2exEbKkGPw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@FreeBSD.org Subject: FreeBSD Port: quagga-0.99.9_7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dandee@hellteam.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2008 20:22:23 -0000 Hi Boris, =20 I would like to turn your attention on one little bug in quagga on = FreeBSD. =20 Why don=C2=B4t we user groupname quaggavty from the beginning when the = quagga had been ported to FreeBSD ? =20 What do I mena ? I will show you the diffrence between quagga on Debian = and on our FreeBSD. =20 They use group quaggavty for command vtysh and they help themself with = pam.d/quagga file. =20 user@server$ ls -l /etc/pam.d/quagga -rw-r--r-- 1 root root 162 2007-09-26 08:20 /etc/pam.d/quagga user$ cat /etc/pam.d/quagga # Any user may call vtysh but only those belonging to the group = quaggavty can # actually connect to the socket and use the program. auth sufficient pam_permit.so user@server$ whoami user user@server$ ls -l /etc/quagga/vtysh.conf -rw-rw---- 1 quagga quaggavty 63 2008-01-10 01:28 /etc/quagga/vtysh.conf user@server$ cat /etc/quagga/vtysh.conf username user nopassword username root nopassword log syslog user@server$ egrep quaggavty /etc/group quaggavty:x:106:user user@server$ vtysh =20 Hello, this is Quagga (version 0.99.5). Copyright 1996-2005 Kunihiro Ishiguro, et al. =20 server# exit user@server$ =20 So here it works, now FreeBSD: =20 > whoami resu > ls -l /etc/pam.d/quagga ls: /etc/pam.d/quagga: No such file or directory > ls -l /usr/local/etc/pam.d/quagga ls: /usr/local/etc/pam.d/quagga: No such file or directory > ls -l /usr/local/etc/quagga/vtysh.conf -rw-rw-r-- 1 quagga quagga 129 10 led 01:52 = /usr/local/etc/quagga/vtysh.conf > cat /usr/local/etc/quagga/vtysh.conf username resu nopassword username root nopassword log syslog > pw group show quagga quagga:*:101:resu > vtysh Exiting: failed to connect to any daemons. > =20 Is possible to repair it ? How can I assit you ? =20 It would be good if new version 0.99.10 will count with vtysh like on = Debian. =20 Thank you. =20 Bye. =20 Daniel