[Pkg-shadow-commits] r3531 - in upstream/trunk: . man

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Sat Oct 22 08:56:51 UTC 2011


Author: nekral-guest
Date: 2011-10-22 08:56:51 +0000 (Sat, 22 Oct 2011)
New Revision: 3531

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/man/su.1.xml
Log:
	* man/su.1.xml: Document that su -c does not providea controlling
	terminal.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2011-10-20 18:17:28 UTC (rev 3530)
+++ upstream/trunk/ChangeLog	2011-10-22 08:56:51 UTC (rev 3531)
@@ -1,3 +1,8 @@
+2011-10-22  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* man/su.1.xml: Document that su -c does not providea controlling
+	terminal.
+
 2011-10-18  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* src/newusers.c: Fix typo.

Modified: upstream/trunk/man/su.1.xml
===================================================================
--- upstream/trunk/man/su.1.xml	2011-10-20 18:17:28 UTC (rev 3530)
+++ upstream/trunk/man/su.1.xml	2011-10-22 08:56:51 UTC (rev 3531)
@@ -137,6 +137,13 @@
 	    Specify a command that will be invoked by the shell using its
 	    <option>-c</option>.
 	  </para>
+	  <para>
+	    The executed command will have no controlling terminal. This
+	    option cannot be used to execute interractive programs which
+	    need a controlling TTY.
+	    <!-- This avoids TTY hijacking when su is used to lower
+	         privileges -->
+	  </para>
 	</listitem>
       </varlistentry>
       <varlistentry>




More information about the Pkg-shadow-commits mailing list