Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 2019 20:08:59 +0000 (UTC)
From:      Benedict Reuschling <bcr@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r53208 - head/en_US.ISO8859-1/books/handbook/l10n
Message-ID:  <201907012008.x61K8xvi074691@repo.freebsd.org>

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



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