Changeset View
Changeset View
Standalone View
Standalone View
head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
Show First 20 Lines • Show All 275 Lines • ▼ Show 20 Lines | <para>So, the previous Latin-1 example would look like | ||||
this:</para> | this:</para> | ||||
<programlisting>german|German Users Accounts:\ | <programlisting>german|German Users Accounts:\ | ||||
:charset=ISO-8859-1:\ | :charset=ISO-8859-1:\ | ||||
:lang=de_DE.ISO8859-1:\ | :lang=de_DE.ISO8859-1:\ | ||||
:tc=default:</programlisting> | :tc=default:</programlisting> | ||||
<para>See &man.login.conf.5; for more details about these | <para>See &man.login.conf.5; for more details about these | ||||
variables.</para> | variables. Note that it already contains pre-defined | ||||
<replaceable>russian</replaceable> class.</para> | |||||
<para>Whenever <filename>/etc/login.conf</filename> is edited, | <para>Whenever <filename>/etc/login.conf</filename> is edited, | ||||
remember to execute the following command to update the | remember to execute the following command to update the | ||||
capability database:</para> | capability database:</para> | ||||
<screen>&prompt.root; <userinput>cap_mkdb /etc/login.conf</userinput></screen> | <screen>&prompt.root; <userinput>cap_mkdb /etc/login.conf</userinput></screen> | ||||
<sect4> | <sect4> | ||||
Show All 40 Lines | <sect4> | ||||
<indexterm> | <indexterm> | ||||
<primary><command>pw</command></primary> | <primary><command>pw</command></primary> | ||||
</indexterm> | </indexterm> | ||||
<para>If <command>pw</command> is used to add new users, | <para>If <command>pw</command> is used to add new users, | ||||
specify the locale as follows:</para> | specify the locale as follows:</para> | ||||
<screen>&prompt.root; <userinput>pw useradd <replaceable>user_name</replaceable> -L <replaceable>language</replaceable></userinput></screen> | <screen>&prompt.root; <userinput>pw useradd <replaceable>user_name</replaceable> -L <replaceable>language</replaceable></userinput></screen> | ||||
<para>To change the login class of an existing user, | |||||
<command>chpass</command> can be used. Invoke it as | |||||
superuser and provide the username to edit as the | |||||
argument.</para> | |||||
<screen>&prompt.root; <userinput>chpass <replaceable>user_name</replaceable></userinput></screen> | |||||
</sect4> | </sect4> | ||||
</sect3> | </sect3> | ||||
<sect3 xml:id="startup-file"> | <sect3 xml:id="startup-file"> | ||||
<title>Shell Startup File Method</title> | <title>Shell Startup File Method</title> | ||||
<para>This second method is not recommended as each shell | <para>This second method is not recommended as each shell | ||||
that is used requires manual configuration, where each | that is used requires manual configuration, where each | ||||
▲ Show 20 Lines • Show All 674 Lines • Show Last 20 Lines |