[Pkg-shadow-commits] r1997 - in upstream/trunk: . man
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Wed May 21 18:58:07 UTC 2008
Author: nekral-guest
Date: 2008-05-21 18:58:06 +0000 (Wed, 21 May 2008)
New Revision: 1997
Modified:
upstream/trunk/ChangeLog
upstream/trunk/man/login.1.xml
Log:
Indicate that login should be executed with "exec login" if called from a shell.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-05-21 18:25:48 UTC (rev 1996)
+++ upstream/trunk/ChangeLog 2008-05-21 18:58:06 UTC (rev 1997)
@@ -1,5 +1,10 @@
2008-05-21 Nicolas François <nicolas.francois at centraliens.net>
+ * man/login.1.xml: Indicate that login should be executed with
+ "exec login" if called from a shell.
+
+2008-05-21 Nicolas François <nicolas.francois at centraliens.net>
+
* man/passwd.1.xml: Remove the advices for the choice of a good
password (they are debatable). Point to
http://en.wikipedia.org/wiki/Password_strength instead.
Modified: upstream/trunk/man/login.1.xml
===================================================================
--- upstream/trunk/man/login.1.xml 2008-05-21 18:25:48 UTC (rev 1996)
+++ upstream/trunk/man/login.1.xml 2008-05-21 18:58:06 UTC (rev 1997)
@@ -75,9 +75,11 @@
with the system. It is normally invoked automatically by responding to
the <emphasis remap='I'>login:</emphasis> prompt on the user's
terminal. <command>login</command> may be special to the shell and may
- not be invoked as a sub-process. Typically, <command>login</command>
- is treated by the shell as <emphasis remap='B'>exec login</emphasis>
- which causes the user to exit from the current shell. Attempting to
+ not be invoked as a sub-process. When called from a shell,
+ <command>login</command> should be executed as
+ <emphasis remap='B'>exec login</emphasis> which will cause the user
+ to exit from the current shell (and thus will prevent the new logged
+ in user to return to the session of the caller). Attempting to
execute <command>login</command> from any shell but the login shell
will produce an error message.
</para>
More information about the Pkg-shadow-commits
mailing list