[l10n-russian CVS] shadow/man/eng-man groupadd.8.xml, 1.1, 1.2 login.1.xml, 1.1, 1.2 useradd.8.xml, 1.1, 1.2 userdel.8.xml, 1.1, 1.2

Yuri Kozlov yuray-guest at alioth.debian.org
Thu Nov 3 10:30:17 UTC 2005


Update of /cvsroot/l10n-russian/shadow/man/eng-man
In directory haydn:/tmp/cvs-serv30259/eng-man

Modified Files:
	groupadd.8.xml login.1.xml useradd.8.xml userdel.8.xml 
Log Message:
synro with shadow cvs and update translation

Index: useradd.8.xml
===================================================================
RCS file: /cvsroot/l10n-russian/shadow/man/eng-man/useradd.8.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- useradd.8.xml	2 Nov 2005 08:45:30 -0000	1.1
+++ useradd.8.xml	3 Nov 2005 10:30:15 -0000	1.2
@@ -343,6 +343,13 @@
       You may not add a user to a NIS group. This must be performed on the
       NIS server.
     </para>
+
+    <para>
+      Similarly, if the username already exists in an external group
+      database such as NIS, <command>useradd</command> will deny
+      the user account creation request.
+    </para>
+
     <para>
       Usernames must begin with a lower case letter or an underscore, and
       only lower case letters, underscores, dashes, and dollar signs may

Index: userdel.8.xml
===================================================================
RCS file: /cvsroot/l10n-russian/shadow/man/eng-man/userdel.8.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- userdel.8.xml	2 Nov 2005 08:45:30 -0000	1.1
+++ userdel.8.xml	3 Nov 2005 10:30:15 -0000	1.2
@@ -15,6 +15,7 @@
   <refsynopsisdiv id='synopsis'>
     <cmdsynopsis>
       <command>userdel</command>
+      <arg choice='opt'>-f </arg>
       <arg choice='opt'>-r </arg>
       <arg choice='plain'>
 	<replaceable>login_name</replaceable>
@@ -39,6 +40,29 @@
     <variablelist remap='IP'>
       <varlistentry>
 	<term>
+	  <option>-f</option>
+	</term>
+	<listitem>
+	  <para>
+	    This option forces the removal of the user, even if she is still
+	    logged in. It also forces <command>userdel</command> to remove
+	    the user's home directory or her mail spool, even if another
+	    user uses the same home directory or if the mail spool is not
+	    owned by the specified user.  If
+	    <emphasis>USERGROUPS_ENAB</emphasis> is defined to <emphasis
+	    remap='I'>yes</emphasis> in <filename>/etc/login.defs</filename>
+	    and if a group exists with the same name as the deleted user,
+	    then this group will be removed, even if it is still the primary
+	    group of another user.
+	  </para>
+	  <para>
+	    <emphasis>Note:</emphasis> This option is dangerous and may let
+	    your system in an inconsistent state.
+	  </para>
+	</listitem>
+      </varlistentry>
+      <varlistentry>
+	<term>
 	  <option>-r</option>
 	</term>
 	<listitem>
@@ -48,6 +72,10 @@
 	    located in other file systems will have to be searched for and
 	    deleted manually.
 	  </para>
+	  <para>
+	    The mail spool is defined by the <emphasis>MAIL_DIR</emphasis>
+	    variable in the <filename>login.defs</filename> file.
+	  </para>
 	</listitem>
       </varlistentry>
     </variablelist>
@@ -139,9 +167,19 @@
     <para>
       <command>userdel</command> will not allow you to remove an account if
       the user is currently logged in. You must kill any running processes
-      which belong to an account that you are deleting. You may not remove
-      any NIS attributes on a NIS client. This must be performed on the NIS
-      server.
+      which belong to an account that you are deleting.
+    </para>
+    <para>You may not remove any NIS attributes on a NIS client. This must
+      be performed on the NIS server.
+    </para>
+    <para>If <emphasis>USERGROUPS_ENAB</emphasis> is defined to <emphasis
+      remap='I'>yes</emphasis> in <filename>/etc/login.defs</filename>,
+      <command>userdel</command> will delete the group with the same name
+      as the user. To avoid inconsistencies in the passwd and group
+      databases, <command>userdel</command> will check that this group is
+      not used as a primary group for another user, and will just warn
+      without deleting the user otherwise. The <option>-f</option> option
+      can force the deletion of this group.
     </para>
   </refsect1>
 

Index: groupadd.8.xml
===================================================================
RCS file: /cvsroot/l10n-russian/shadow/man/eng-man/groupadd.8.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- groupadd.8.xml	2 Nov 2005 08:45:30 -0000	1.1
+++ groupadd.8.xml	3 Nov 2005 10:30:15 -0000	1.2
@@ -140,6 +140,15 @@
        follow. In regular expression terms: [a-z_][a-z0-9_-]*[$]
      </para>
      <para>Groupnames may only be up to 16 characters long.</para>
+
+     <para>
+       If the groupname already exists in an external group database
+       such as NIS, <command>groupadd</command> will deny the group
+       creation request.
+     </para>
+
+     <para>Groupnames may only be up to 16 characters long.</para>
+
    </refsect1>
 
   <refsect1 id='exit_values'>

Index: login.1.xml
===================================================================
RCS file: /cvsroot/l10n-russian/shadow/man/eng-man/login.1.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- login.1.xml	2 Nov 2005 08:45:30 -0000	1.1
+++ login.1.xml	3 Nov 2005 10:30:15 -0000	1.2
@@ -156,9 +156,10 @@
       </varlistentry>
     </variablelist>
 
-    <para>The <option>-r</option>, <option>-h</option> and
-      <option>-f</option> options are only used when
-      <command>login</command> is invoked by root.
+    <para>
+      The <option>-r</option>, <option>-h</option> and <option>-f</option>
+      options are only used when <command>login</command> is invoked by
+      root.
     </para>
   </refsect1>
 
@@ -172,6 +173,18 @@
     <para>The location of files is subject to differences in system
       configuration.
     </para>
+
+    <para>
+      The <command>login</command> program is NOT responsible for removing
+      users from the utmp file. It is the responsibility of <citerefentry>
+      <refentrytitle>getty</refentrytitle><manvolnum>8</manvolnum>
+      </citerefentry> and <citerefentry>
+      <refentrytitle>init</refentrytitle><manvolnum>8</manvolnum>
+      </citerefentry> to clean up apparent ownership of a terminal session. 
+      If you use <command>login</command> from the shell prompt without
+      <command>exec</command>, the user you use will continue to appear to
+      be logged in even after you log out of the "subsession".
+    </para>
   </refsect1>
 
   <refsect1 id='files'>




More information about the l10n-russian-cvs-commits mailing list