svn commit: r53208 - head/en_US.ISO8859-1/books/handbook/l10n

Benedict Reuschling bcr at FreeBSD.org
Mon Jul 1 20:09:00 UTC 2019


Author: bcr
Date: Mon Jul  1 20:08:58 2019
New Revision: 53208
URL: https://svnweb.freebsd.org/changeset/doc/53208

Log:
  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 at ya.ru
  Patch by:		arrowd
  Approved by:		bcr
  Differential Revision:	https://reviews.freebsd.org/D20825

Modified:
  head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml	Mon Jul  1 19:21:27 2019	(r53207)
+++ head/en_US.ISO8859-1/books/handbook/l10n/chapter.xml	Mon Jul  1 20:08:58 2019	(r53208)
@@ -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>
 


More information about the svn-doc-all mailing list