]> granicus.if.org Git - shadow/commitdiff
Indicate that login should be executed with "exec login" if called from a shell.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Wed, 21 May 2008 18:58:06 +0000 (18:58 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Wed, 21 May 2008 18:58:06 +0000 (18:58 +0000)
ChangeLog
man/login.1.xml

index 2c1744d74171a57e8a363201b46b6626ab2232b8..11162b6842bc163c6b2b042c055f74fc00a1759a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-21  Nicolas François  <nicolas.francois@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@centraliens.net>
 
        * man/passwd.1.xml: Remove the advices for the choice of a good
index e577bd9440912281778e4ccae145bccbebd62b9f..2380f24238f5c3b6d744da60ff349164c5df34c4 100644 (file)
       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>