summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2001-05-26 20:45:09 +0000
committerAndrew G. Morgan <morgan@kernel.org>2001-05-26 20:45:09 +0000
commitd06c7d9afd627edbe7d59cd957243fab5bcdbf18 (patch)
tree1f90b6993f416231107b21a7f1b29745d925227a /doc
parentd7a2f56b6b3ea6f66dc3be90eb3afce9cbc44679 (diff)
Relevant BUGIDs: 417512
Purpose of commit: add a clarification Commit summary: --------------- At a user's request, added a clarification to the documentation regarding the choice of argv[0] as a service name.
Diffstat (limited to 'doc')
-rw-r--r--doc/pam_appl.sgml12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/pam_appl.sgml b/doc/pam_appl.sgml
index a30dfd6f..f033dff0 100644
--- a/doc/pam_appl.sgml
+++ b/doc/pam_appl.sgml
@@ -46,7 +46,7 @@ DAMAGE.
<title>The Linux-PAM Application Developers' Guide
<author>Andrew G. Morgan, <tt>morgan@kernel.org</tt>
-<date>DRAFT v0.75 2001/03/18
+<date>DRAFT v0.76 2001/05/26
<abstract>
This manual documents what an application developer needs to know
about the <bf>Linux-PAM</bf> library. It describes how an application
@@ -1075,6 +1075,16 @@ application on a system under a different name and this should not be
permitted to cause a security breach.
<p>
+In general, this is always the right advice if the program is setuid,
+or otherwise more privileged than the user that invokes it. In some
+cases, avoiding this advice is convenient, but as an author of such an
+application, you should consider well the ways in which your program
+will be installed and used. (Its often the case that programs are not
+intended to be setuid, but end up being installed that way for
+convenience. If your program falls into this category, don't fall into
+the trap of making this mistake.)
+
+<p>
To invoke some <tt/target/ application by another name, the user may
symbolically link the target application with the desired name. To be
precise all the user need do is,