summaryrefslogtreecommitdiffstats
path: root/login-utils
diff options
context:
space:
mode:
Diffstat (limited to 'login-utils')
-rw-r--r--login-utils/chfn.14
-rw-r--r--login-utils/chsh.14
-rw-r--r--login-utils/last.16
-rw-r--r--login-utils/login.16
-rw-r--r--login-utils/lslogins.14
-rw-r--r--login-utils/lslogins.c2
-rw-r--r--login-utils/newgrp.16
-rw-r--r--login-utils/nologin.84
-rw-r--r--login-utils/runuser.16
-rw-r--r--login-utils/su-common.c5
-rw-r--r--login-utils/su.16
-rw-r--r--login-utils/sulogin.84
-rw-r--r--login-utils/utmpdump.14
-rw-r--r--login-utils/vipw.84
14 files changed, 33 insertions, 32 deletions
diff --git a/login-utils/chfn.1 b/login-utils/chfn.1
index 71cc157..df13887 100644
--- a/login-utils/chfn.1
+++ b/login-utils/chfn.1
@@ -4,10 +4,10 @@
.\" Generator: Asciidoctor 2.0.20
.\" Date: 2024-01-31
.\" Manual: User Commands
-.\" Source: util-linux 2.40
+.\" Source: util-linux 2.40.1
.\" Language: English
.\"
-.TH "CHFN" "1" "2024-01-31" "util\-linux 2.40" "User Commands"
+.TH "CHFN" "1" "2024-01-31" "util\-linux 2.40.1" "User Commands"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff --git a/login-utils/chsh.1 b/login-utils/chsh.1
index 33cd793..d85e1a1 100644
--- a/login-utils/chsh.1
+++ b/login-utils/chsh.1
@@ -4,10 +4,10 @@
.\" Generator: Asciidoctor 2.0.20
.\" Date: 2024-01-31
.\" Manual: User Commands
-.\" Source: util-linux 2.40
+.\" Source: util-linux 2.40.1
.\" Language: English
.\"
-.TH "CHSH" "1" "2024-01-31" "util\-linux 2.40" "User Commands"
+.TH "CHSH" "1" "2024-01-31" "util\-linux 2.40.1" "User Commands"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff --git a/login-utils/last.1 b/login-utils/last.1
index 1f01d71..5f39308 100644
--- a/login-utils/last.1
+++ b/login-utils/last.1
@@ -2,12 +2,12 @@
.\" Title: last
.\" Author: [see the "AUTHOR(S)" section]
.\" Generator: Asciidoctor 2.0.20
-.\" Date: 2024-03-20
+.\" Date: 2024-05-01
.\" Manual: User Commands
-.\" Source: util-linux 2.40
+.\" Source: util-linux 2.40.1
.\" Language: English
.\"
-.TH "LAST" "1" "2024-03-20" "util\-linux 2.40" "User Commands"
+.TH "LAST" "1" "2024-05-01" "util\-linux 2.40.1" "User Commands"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff --git a/login-utils/login.1 b/login-utils/login.1
index 112e58d..072d585 100644
--- a/login-utils/login.1
+++ b/login-utils/login.1
@@ -2,12 +2,12 @@
.\" Title: login
.\" Author: [see the "AUTHOR(S)" section]
.\" Generator: Asciidoctor 2.0.20
-.\" Date: 2024-03-20
+.\" Date: 2024-05-01
.\" Manual: User Commands
-.\" Source: util-linux 2.40
+.\" Source: util-linux 2.40.1
.\" Language: English
.\"
-.TH "LOGIN" "1" "2024-03-20" "util\-linux 2.40" "User Commands"
+.TH "LOGIN" "1" "2024-05-01" "util\-linux 2.40.1" "User Commands"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff --git a/login-utils/lslogins.1 b/login-utils/lslogins.1
index d60be27..2fef541 100644
--- a/login-utils/lslogins.1
+++ b/login-utils/lslogins.1
@@ -4,10 +4,10 @@
.\" Generator: Asciidoctor 2.0.20
.\" Date: 2024-01-31
.\" Manual: User Commands
-.\" Source: util-linux 2.40
+.\" Source: util-linux 2.40.1
.\" Language: English
.\"
-.TH "LSLOGINS" "1" "2024-01-31" "util\-linux 2.40" "User Commands"
+.TH "LSLOGINS" "1" "2024-01-31" "util\-linux 2.40.1" "User Commands"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff --git a/login-utils/lslogins.c b/login-utils/lslogins.c
index 217f3f3..41f7e13 100644
--- a/login-utils/lslogins.c
+++ b/login-utils/lslogins.c
@@ -1458,7 +1458,7 @@ static void __attribute__((__noreturn__)) usage(void)
fputs(_(" --notruncate don't truncate output\n"), out);
fputs(_(" -o, --output[=<list>] define the columns to output\n"), out);
fputs(_(" --output-all output all columns\n"), out);
- fputs(_(" -p, --pwd display information related to login by password.\n"), out);
+ fputs(_(" -p, --pwd display information related to login by password\n"), out);
fputs(_(" -r, --raw display in raw mode\n"), out);
fputs(_(" -s, --system-accs display system accounts\n"), out);
fputs(_(" --time-format=<type> display dates in short, full or iso format\n"), out);
diff --git a/login-utils/newgrp.1 b/login-utils/newgrp.1
index 9c15c67..20ab67e 100644
--- a/login-utils/newgrp.1
+++ b/login-utils/newgrp.1
@@ -2,12 +2,12 @@
.\" Title: newgrp
.\" Author: [see the "AUTHOR(S)" section]
.\" Generator: Asciidoctor 2.0.20
-.\" Date: 2024-03-20
+.\" Date: 2024-05-01
.\" Manual: User Commands
-.\" Source: util-linux 2.40
+.\" Source: util-linux 2.40.1
.\" Language: English
.\"
-.TH "NEWGRP" "1" "2024-03-20" "util\-linux 2.40" "User Commands"
+.TH "NEWGRP" "1" "2024-05-01" "util\-linux 2.40.1" "User Commands"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff --git a/login-utils/nologin.8 b/login-utils/nologin.8
index 201f832..64e8308 100644
--- a/login-utils/nologin.8
+++ b/login-utils/nologin.8
@@ -4,10 +4,10 @@
.\" Generator: Asciidoctor 2.0.20
.\" Date: 2024-01-31
.\" Manual: System Administration
-.\" Source: util-linux 2.40
+.\" Source: util-linux 2.40.1
.\" Language: English
.\"
-.TH "NOLOGIN" "8" "2024-01-31" "util\-linux 2.40" "System Administration"
+.TH "NOLOGIN" "8" "2024-01-31" "util\-linux 2.40.1" "System Administration"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff --git a/login-utils/runuser.1 b/login-utils/runuser.1
index 7fed3d5..ea312b0 100644
--- a/login-utils/runuser.1
+++ b/login-utils/runuser.1
@@ -2,12 +2,12 @@
.\" Title: runuser
.\" Author: [see the "AUTHOR(S)" section]
.\" Generator: Asciidoctor 2.0.20
-.\" Date: 2024-03-20
+.\" Date: 2024-05-01
.\" Manual: User Commands
-.\" Source: util-linux 2.40
+.\" Source: util-linux 2.40.1
.\" Language: English
.\"
-.TH "RUNUSER" "1" "2024-03-20" "util\-linux 2.40" "User Commands"
+.TH "RUNUSER" "1" "2024-05-01" "util\-linux 2.40.1" "User Commands"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff --git a/login-utils/su-common.c b/login-utils/su-common.c
index 9bc0231..3dda84e 100644
--- a/login-utils/su-common.c
+++ b/login-utils/su-common.c
@@ -447,9 +447,10 @@ static void supam_open_session(struct su_context *su)
rc = pam_open_session(su->pamh, 0);
if (is_pam_failure(rc)) {
+ const char *msg = pam_strerror(su->pamh, rc);
+
supam_cleanup(su, rc);
- errx(EXIT_FAILURE, _("cannot open session: %s"),
- pam_strerror(su->pamh, rc));
+ errx(EXIT_FAILURE, _("cannot open session: %s"), msg);
} else
su->pam_has_session = 1;
}
diff --git a/login-utils/su.1 b/login-utils/su.1
index 1ada7a0..63b2e48 100644
--- a/login-utils/su.1
+++ b/login-utils/su.1
@@ -2,12 +2,12 @@
.\" Title: su
.\" Author: [see the "AUTHOR(S)" section]
.\" Generator: Asciidoctor 2.0.20
-.\" Date: 2024-03-20
+.\" Date: 2024-05-01
.\" Manual: User Commands
-.\" Source: util-linux 2.40
+.\" Source: util-linux 2.40.1
.\" Language: English
.\"
-.TH "SU" "1" "2024-03-20" "util\-linux 2.40" "User Commands"
+.TH "SU" "1" "2024-05-01" "util\-linux 2.40.1" "User Commands"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff --git a/login-utils/sulogin.8 b/login-utils/sulogin.8
index df9d305..d013c22 100644
--- a/login-utils/sulogin.8
+++ b/login-utils/sulogin.8
@@ -4,10 +4,10 @@
.\" Generator: Asciidoctor 2.0.20
.\" Date: 2024-01-31
.\" Manual: System Administration
-.\" Source: util-linux 2.40
+.\" Source: util-linux 2.40.1
.\" Language: English
.\"
-.TH "SULOGIN" "8" "2024-01-31" "util\-linux 2.40" "System Administration"
+.TH "SULOGIN" "8" "2024-01-31" "util\-linux 2.40.1" "System Administration"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff --git a/login-utils/utmpdump.1 b/login-utils/utmpdump.1
index f6c46d6..a60d5b0 100644
--- a/login-utils/utmpdump.1
+++ b/login-utils/utmpdump.1
@@ -4,10 +4,10 @@
.\" Generator: Asciidoctor 2.0.20
.\" Date: 2024-01-31
.\" Manual: User Commands
-.\" Source: util-linux 2.40
+.\" Source: util-linux 2.40.1
.\" Language: English
.\"
-.TH "UTMPDUMP" "1" "2024-01-31" "util\-linux 2.40" "User Commands"
+.TH "UTMPDUMP" "1" "2024-01-31" "util\-linux 2.40.1" "User Commands"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0
diff --git a/login-utils/vipw.8 b/login-utils/vipw.8
index 5d8db1b..74cdbf6 100644
--- a/login-utils/vipw.8
+++ b/login-utils/vipw.8
@@ -4,10 +4,10 @@
.\" Generator: Asciidoctor 2.0.20
.\" Date: 2024-01-31
.\" Manual: System Administration
-.\" Source: util-linux 2.40
+.\" Source: util-linux 2.40.1
.\" Language: English
.\"
-.TH "VIPW" "8" "2024-01-31" "util\-linux 2.40" "System Administration"
+.TH "VIPW" "8" "2024-01-31" "util\-linux 2.40.1" "System Administration"
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.ss \n[.ss] 0