Mention the chpass command as a way to change the language.

Add an example with a short description on how to use chpass to change the
language for an existing user.

The patch was provided by arrowd@, I merely did some grammar and indentation
cleanups.

PR:			238890
Submitted by:		omen-54@ya.ru
Patch by:		arrowd
Approved by:		bcr
Differential Revision:	https://reviews.freebsd.org/D20825
This commit is contained in:
Benedict Reuschling 2019-07-01 20:08:58 +00:00
parent dfa533ae65
commit 8a203447b9
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=53208

View file

@ -281,7 +281,8 @@ me:\
:tc=default:</programlisting>
<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,
remember to execute the following command to update the
@ -338,6 +339,13 @@ me:\
specify the locale as follows:</para>
<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>
</sect3>