]> granicus.if.org Git - shadow/commitdiff
* man/su.1.xml: Document that su -c does not providea controlling
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 22 Oct 2011 08:56:51 +0000 (08:56 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 22 Oct 2011 08:56:51 +0000 (08:56 +0000)
terminal.

ChangeLog
man/su.1.xml

index f76e242dfb70d4c5ecde4b5ecf26ca7b6f47d6e8..0a0bdb6567d27319d7c3c483c28aa79ecda9616e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-22  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/su.1.xml: Document that su -c does not providea controlling
+       terminal.
+
 2011-10-18  Nicolas François  <nicolas.francois@centraliens.net>
 
        * src/newusers.c: Fix typo.
index b4ac203dfed9a9e2f2e68881685ec9a29767f316..02222d6678448f1e146cb8f6110397a1f2fb0ec4 100644 (file)
            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>