summaryrefslogtreecommitdiffstats
path: root/login-utils/lslogins.1
diff options
context:
space:
mode:
authorKarel Zak2017-08-18 10:29:54 +0200
committerKarel Zak2017-08-18 10:29:54 +0200
commit6047c6db9c261c8048c54279ba1206ad0ca5d61e (patch)
tree71a299c20811d5fb0bc2f9b4291af1820803257f /login-utils/lslogins.1
parentlslogins: ignore non-existing users (diff)
downloadkernel-qcow2-util-linux-6047c6db9c261c8048c54279ba1206ad0ca5d61e.tar.gz
kernel-qcow2-util-linux-6047c6db9c261c8048c54279ba1206ad0ca5d61e.tar.xz
kernel-qcow2-util-linux-6047c6db9c261c8048c54279ba1206ad0ca5d61e.zip
lslogins: be more explicit with -g in man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/lslogins.1')
-rw-r--r--login-utils/lslogins.17
1 files changed, 6 insertions, 1 deletions
diff --git a/login-utils/lslogins.1 b/login-utils/lslogins.1
index 9506d2906..bd6955f82 100644
--- a/login-utils/lslogins.1
+++ b/login-utils/lslogins.1
@@ -35,11 +35,16 @@ Output data in the format of NAME=VALUE.
Display data about the users' last failed login attempts.
.TP
\fB\-G\fR, \fB\-\-supp\-groups\fR
-Show information about groups.
+Show information about supplementary groups.
.TP
\fB\-g\fR, \fB\-\-groups\fR=\fIgroups\fR
Only show data of users belonging to \fIgroups\fR. More than one group
may be specified; the list has to be comma-separated.
+
+Note that relation between user and group may be invisible for primary group if
+the user is not explicitly specify as group member (e.g. in /etc/group). If the
+command lslogins scans for groups than it uses groups database only, and user
+database with primary GID is not used at all.
.TP
\fB\-h\fR, \fB\-\-help\fR
Display help information and exit.