Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Apr 2011 10:06:41 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: About  using setenv within Login.conf, then interpolate
Message-ID:  <4D96E721.10103@infracaninophile.co.uk>
In-Reply-To: <2a45fcd55d08a7465370ad0acf8e724c.squirrel@lamaiziere.net>
References:  <2a45fcd55d08a7465370ad0acf8e724c.squirrel@lamaiziere.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D96E721.10103>