summaryrefslogtreecommitdiffstats
path: root/sys-utils
diff options
context:
space:
mode:
authorMichael Kerrisk2016-12-04 20:34:54 +0100
committerKarel Zak2016-12-09 13:45:09 +0100
commitaedd46f66ed5462c0e0193faa977a6dfef4fd0de (patch)
treeaa41e8c4ced3ee9cb1321eb00f0060c110ac78c1 /sys-utils
parentdocs: various pages: Format pathnames as italic (.I) (diff)
downloadkernel-qcow2-util-linux-aedd46f66ed5462c0e0193faa977a6dfef4fd0de.tar.gz
kernel-qcow2-util-linux-aedd46f66ed5462c0e0193faa977a6dfef4fd0de.tar.xz
kernel-qcow2-util-linux-aedd46f66ed5462c0e0193faa977a6dfef4fd0de.zip
docs: various pages: Use consistent terminology (set-user-ID and set-group-ID)
Use consistent terminology for set-user-ID and set-group-ID bits. There's much inconsistency in the pages. "suid", "set-user-identifier", "setuid". Stick with one terminology, "set-user-ID" and set-grout-ID, as suggested in man-pages(7). Signed-off-by: <mtk.man-pages@gmail.com>
Diffstat (limited to 'sys-utils')
-rw-r--r--sys-utils/mount.810
-rw-r--r--sys-utils/readprofile.82
-rw-r--r--sys-utils/setpriv.16
3 files changed, 10 insertions, 8 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index d1ef9083f..5623397dd 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -571,7 +571,7 @@ Mount the partition that has the specified
.TP
.BR \-l , " \-\-show\-labels"
Add the labels in the mount output. \fBmount\fR must have
-permission to read the disk device (e.g.\& be suid root) for this to work.
+permission to read the disk device (e.g.\& be set-user-ID root) for this to work.
One can set such a label for ext2, ext3 or ext4 using the
.BR e2label (8)
utility, or for XFS using
@@ -1058,11 +1058,11 @@ or
Do not use the lazytime feature.
.TP
.B suid
-Allow set-user-identifier or set-group-identifier bits to take
+Allow set-user-ID or set-group-ID bits to take
effect.
.TP
.B nosuid
-Do not allow set-user-identifier or set-group-identifier bits to take
+Do not allow set-user-ID or set-group-ID bits to take
effect.
.TP
.B silent
@@ -1599,8 +1599,8 @@ When
.B grpid
is set, it takes the group id of the directory in which it is created;
otherwise (the default) it takes the fsgid of the current process, unless
-the directory has the setgid bit set, in which case it takes the gid
-from the parent directory, and also gets the setgid bit set
+the directory has the set-group-ID bit set, in which case it takes the gid
+from the parent directory, and also gets the set-group-ID bit set
if it is a directory itself.
.TP
.BR grpquota | noquota | quota | usrquota
diff --git a/sys-utils/readprofile.8 b/sys-utils/readprofile.8
index 59c930b3d..5c72a719f 100644
--- a/sys-utils/readprofile.8
+++ b/sys-utils/readprofile.8
@@ -74,7 +74,7 @@ because
is readable by everybody but writable only by the superuser.
However, you can make
.B readprofile
-setuid 0, in order to reset the buffer without gaining privileges.
+set-user-ID 0, in order to reset the buffer without gaining privileges.
.TP
\fB\-s, \fB\-\-counters\fR
Print individual counters within functions.
diff --git a/sys-utils/setpriv.1 b/sys-utils/setpriv.1
index 383efec37..23c147685 100644
--- a/sys-utils/setpriv.1
+++ b/sys-utils/setpriv.1
@@ -11,7 +11,8 @@ Sets or queries various Linux privilege settings that are inherited across
.BR execve (2).
.PP
The difference between the commands setpriv and su (or runuser) is that setpriv does
-not use open PAM session and does not ask for password. It's simple non-suid wrapper around
+not use open PAM session and does not ask for password.
+It's simple non-set-user-ID wrapper around
.B execve
system call.
.SH OPTION
@@ -59,7 +60,8 @@ Set the
.I no_new_privs
bit. With this bit set,
.BR execve (2)
-will not grant new privileges. For example, the setuid and setgid bits as well
+will not grant new privileges.
+For example, the set-user-ID and set-group-ID bits as well
as file capabilities will be disabled. (Executing binaries with these bits set
will still work, but they will not gain privileges. Certain LSMs, especially
AppArmor, may result in failures to execute certain programs.) This bit is