summaryrefslogtreecommitdiffstats
path: root/tags/s/su-wrapper-not-su-to-root.tag
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /tags/s/su-wrapper-not-su-to-root.tag
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tags/s/su-wrapper-not-su-to-root.tag')
-rw-r--r--tags/s/su-wrapper-not-su-to-root.tag14
1 files changed, 14 insertions, 0 deletions
diff --git a/tags/s/su-wrapper-not-su-to-root.tag b/tags/s/su-wrapper-not-su-to-root.tag
new file mode 100644
index 0000000..ec19bee
--- /dev/null
+++ b/tags/s/su-wrapper-not-su-to-root.tag
@@ -0,0 +1,14 @@
+Tag: su-wrapper-not-su-to-root
+Severity: warning
+Check: menu-format
+Explanation: The command in a <code>menu</code> item or in a Desktop file uses
+ a <code>su</code> wrapper other than <code>su-to-root</code>.
+ .
+ On Debian systems, please use <code>su-to-root -X</code>. That will pick the
+ best wrapper depending on which software is installed and which desktop
+ environment is being used.
+ .
+ Using <code>su-to-root</code> is especially important for Live CD systems.
+ They need to use <code>sudo</code> rather than <code>su</code>. The
+ <code>su-to-root</code> command can be configured to invoke only
+ <code>sudo</code>.