From owner-freebsd-questions@FreeBSD.ORG Tue Dec 21 21:29:30 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 1315816A4CE for ; Tue, 21 Dec 2004 21:29:30 +0000 (GMT) Received: from sapo.pt (relay2.ptmail.sapo.pt [212.55.154.22]) by mx1.FreeBSD.org (Postfix) with SMTP id 2CAB743D45 for ; Tue, 21 Dec 2004 21:29:29 +0000 (GMT) (envelope-from gamito@netual.pt) Received: (qmail 28854 invoked from network); 21 Dec 2004 21:29:26 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.157) by relay2 with SMTP; 21 Dec 2004 21:29:26 -0000 Received: (qmail 15318 invoked from network); 21 Dec 2004 21:29:22 -0000 Received: from unknown (HELO [10.0.0.5]) ([81.193.21.199]) (envelope-sender ) by mta7 (qmail-ldap-1.03) with SMTP for ; 21 Dec 2004 21:29:22 -0000 Message-ID: <41C895B2.8030108@netual.pt> Date: Tue, 21 Dec 2004 21:29:22 +0000 From: =?ISO-8859-1?Q?M=E1rio_Gamito?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Erik Norgaard References: <41C8807F.2080004@netual.pt> <41C8895D.4060606@locolomo.org> <41C88D15.4090603@netual.pt> <41C893F6.6090503@locolomo.org> In-Reply-To: <41C893F6.6090503@locolomo.org> 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:29:30 -0000 Hi Erik, Thank you for your patience. I did what you told me, but i get: "login_getclass: unknown class 'pt_PT'" what can be wrong ? Thank you again. Warm Regards, Mário Gamito Erik Norgaard wrote: > 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 -- Mário Gamito Administração de sistemas e desenvolvimento Netual - Multimédia e Telecomunicações, Lda. Rua João Afonso, Nº1 3800-198 Aveiro - Portugal Tel. +351 234 371 431 / Fax. +351 234 371 438 E-mail: gamito@netual.pt www.netual.pt