DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th December 2017
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default Can we split people by class ?

I added a new class chinese into
Quote:
/etc/login.conf
as below:
...
chinese:\
:lang=zh_CN.UTF-8:\
:charset=UTF-8:\
:setenv=LC_ALL=zh_CN.UTF-8:\
:setenv=LC_CTYPE=zh_CN.UTF-8:\
:setenv=LC_COLLATE=zh_CN.UTF-8:\
:setenv=LC_TIME=zh_CN.UTF-8:\
:setenv=LC_NUMERIC=zh_CN.UTF-8:\
:setenv=LC_MONETARY=zh_CN.UTF-8:\
:setenv=LC_MESSAGES=zh_CN.UTF-8:\
:xmodifiers="@im=fcitx":
:tc=staff:

russia:\
...
Code:
$ doas cap_mkdb /etc/login.conf

$ id -p 
uid       eagle
groups  eagle wheel
class    chinese
However, after loginning, eagle cannot locale to zh_CN.

Regards!
Reply With Quote
  #2   (View Single Post)  
Old 17th December 2017
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 133
Default

SSHD doesn't honor login.conf's setenv, maybe it is the reason !
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
This is what I ask people when I meet them. Ninguem Off-Topic 6 20th June 2016 08:00 PM
encryption and volume split of folder backups wimwauters OpenBSD General 6 24th November 2009 10:29 PM
dd and split usage problem paul-lkw FreeBSD General 4 31st January 2009 08:13 PM


All times are GMT. The time now is 11:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick