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

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



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