From owner-freebsd-questions@FreeBSD.ORG Tue Dec 21 21:22:02 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 140FA16A4CE for ; Tue, 21 Dec 2004 21:22:02 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6793F43D62 for ; Tue, 21 Dec 2004 21:22:01 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by top.daemonsecurity.com (Postfix) with ESMTP id 3200AFD008; Tue, 21 Dec 2004 22:22:00 +0100 (CET) Message-ID: <41C893F6.6090503@locolomo.org> Date: Tue, 21 Dec 2004 22:21:58 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041114 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: =?ISO-8859-1?Q?M=E1rio_Gamito?= References: <41C8807F.2080004@netual.pt> <41C8895D.4060606@locolomo.org> <41C88D15.4090603@netual.pt> In-Reply-To: <41C88D15.4090603@netual.pt> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: No latin characters :( X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 21:22:02 -0000 Mário Gamito wrote: > How do you do this (set the login class) ??? Edit master.passwd, the fields are as follows (see passwd(5)): name User's login name. password User's encrypted password. uid User's id. gid User's login group id. class User's login class. change Password change time. expire Account expiration time. gecos General information about the user. home_dir User's home directory. shell User's login shell. - ie. set the 5th field to pt_PT (if you follow my scheme of using iso language codes as class names). When you have updated the master password file you need to run pwd_mkdb(8), the changes will take effect when you login next time. Note, if you are logging in remotely, then keyboard settings are set by the client host. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2