From owner-freebsd-questions@FreeBSD.ORG Sat Apr 2 09:06:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA0E01065672 for ; Sat, 2 Apr 2011 09:06:56 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 34A1A8FC18 for ; Sat, 2 Apr 2011 09:06:56 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id p3296mgc018919 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 2 Apr 2011 10:06:49 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p3296mgc018919 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1301735209; bh=LBpDAAifnfGA7qwhbwiztqwlk2S5iBfHI+0jxqPHf1U=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D96E721.10103@infracaninophile.co.uk>|Date:=20Sat ,=2002=20Apr=202011=2010:06:41=20+0100|From:=20Matthew=20Seaman=20 |User-Agent:=20Mozilla/5.0=20(Mac intosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20rv: 1.9.2.15)=20Gecko/20110303=20Thunderbird/3.1.9|MIME-Version:=201.0 |To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20About=20=20u sing=20setenv=20within=20Login.conf,=20then=20interpolate|Referenc es:=20<2a45fcd55d08a7465370ad0acf8e724c.squirrel@lamaiziere.net>|I n-Reply-To:=20<2a45fcd55d08a7465370ad0acf8e724c.squirrel@lamaizier e.net>|X-Enigmail-Version:=201.1.1|OpenPGP:=20id=3D60AE908C|Conten t-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20proto col=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"--------- ---enigF7ADB626E7702023D78FB9D3"; b=QabYEetwd7TRa9Hj6DNN3arFPUxEArbUIuxO7QYiymwR8AVYPjiB9JKv5kYmIuzRE YWmkONSFEXPbmK4p8FuwH/xXthKWQ4my00pERlVxERWcRI2HLmwe4/sxxLGThTaXB9 1wVtryGjCEnl7DBcy9+q7Leg2NxSMMCJnT3sU8/E= Message-ID: <4D96E721.10103@infracaninophile.co.uk> Date: Sat, 02 Apr 2011 10:06:41 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <2a45fcd55d08a7465370ad0acf8e724c.squirrel@lamaiziere.net> In-Reply-To: <2a45fcd55d08a7465370ad0acf8e724c.squirrel@lamaiziere.net> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF7ADB626E7702023D78FB9D3" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: About using setenv within Login.conf, then interpolate X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 09:06:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF7ADB626E7702023D78FB9D3 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 02/04/2011 09:04, David Marec wrote: > I am using the following /etc/login.conf cap-file, that defines the > "french class" as an interpolate from "default": >=20 >=20 > <--- ---> > default:\ > :passwd_format=3Dmd5:\ > :copyright=3D/etc/COPYRIGHT:\ > :welcome=3D/etc/motd:\ > :setenv=3DMAIL=3D/var/mail/$\ > ,BLOCKSIZE=3DK\ > ,FTP_PASSIVE_MODE=3DYES\ >=20 > [...etc.] > french|Utilisateurs francophones:\ > :charset=3DISO-8859-15:\ > :setenv=3DLC_COLLATE=3Dfr_FR.ISO8859-15\ > ,LC_CTYPE=3Dfr_FR.ISO8859-15\ > ,LC_MESSAGES=3Dfr_FR.ISO8859-15\ > ,LC_MONETARY=3Dfr_FR.ISO8859-15\ > ,LC_NUMERIC=3Dfr_FR.ISO8859-15\ > ,LC_TIME=3Dfr_FR.ISO8859-15\ > ,LC_ALL=3Dfr_FR.ISO8859-15:\ > :lang=3Dfr_FR.ISO8859-15:\ > :tc=3Ddefault: >=20 > <--- ---> >=20 > But, the "setenv" tags that are defined for "default" are not set for > french user: >=20 >=20 Uh -- the setenv entry in your french class replaces the capability from the default class. You get one or the other, not both. This is consistent with what would happen with any of the other capabilities. I don't think there is a way to refer to a capability setting from a parent class in the way you want. You're just going to have to cut'n'paste the text into your new class. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigF7ADB626E7702023D78FB9D3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2W5ygACgkQ8Mjk52CukIzlUACeNcN0J/rNgauMYUIsNaBs2Xqt 9lkAnjwEow0NltFMB7agIVKUbu04kWmt =qasq -----END PGP SIGNATURE----- --------------enigF7ADB626E7702023D78FB9D3--