Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 21:29:22 +0000
From:      =?ISO-8859-1?Q?M=E1rio_Gamito?= <gamito@netual.pt>
To:        Erik Norgaard <norgaard@locolomo.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: No latin characters :(
Message-ID:  <41C895B2.8030108@netual.pt>
In-Reply-To: <41C893F6.6090503@locolomo.org>
References:  <41C8807F.2080004@netual.pt> <41C8895D.4060606@locolomo.org> <41C88D15.4090603@netual.pt> <41C893F6.6090503@locolomo.org>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41C895B2.8030108>