Commit Graph

18 Commits

Author SHA1 Message Date
Ilia Ross
8417d5c279 Fix logged in users list for current who output formats
This patch fixes the "Show Logged In Users" page in Users and Groups, which always reported that nobody is logged in on current Linux systems.

GNU coreutils 9.7 with the logind backend, as on Debian 13, also prints the terminal as "sshd pts/0", which the parser now accepts as well.

Tested on Alma 10, Debian 13 and Ubuntu 26.04 with Webmin 2.670.

https://forum.virtualmin.com/t/webmin-2-670-does-not-show-logged-in-users-from-the-users-and-groups-system-module-button-on-ubuntu-26-04-1-lts/138162
2026-10-15 16:21:35 +02:00
Ilia Ross
07a11f7de6 Fix to use quotemeta to prevent shell injection in Useradmin module
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
2026-02-11 13:03:27 +02:00
Jamie Cameron
37f1b52391 Don't try to run the last command if it's not installed
https://github.com/webmin/webmin/discussions/2161
2025-10-25 20:00:04 -07:00
Ilia Ross
21e110cc8a Fix to bring back support for limit in last command
https://forum.virtualmin.com/t/is-this-process-normal-or-should-i-worry/128835/10?u=ilia
2024-10-20 15:59:41 +03:00
Ilia Ross
fbee8f0588 Add logging for active FTP conns 2024-06-20 20:04:19 +03:00
Ilia Ross
a75781d61a Fix the regex to correctly match the output of the last command on contemporary systems 2024-06-18 23:36:31 +03:00
Ilia Ross
548c078813 Fix not to truncate usernames 2024-06-18 20:23:22 +03:00
Ilia
547fc9caf6 Add support for yescrypt password hashing scheme
https://sourceforge.net/p/webadmin/discussion/55377/thread/01e65be3f9/
2022-05-28 19:26:32 +03:00
Jamie Cameron
6bb6f85460 Use full dates for last login times https://sourceforge.net/p/webadmin/bugs/5087/ 2018-02-23 18:53:55 -08:00
Jamie Cameron
f0bb980ebe Use new API for clearing language 2011-08-22 21:41:32 -07:00
Jamie Cameron
5697264b97 Use lastlog command to get last logins 2011-07-22 10:31:24 -07:00
Jamie Cameron
2a5cd96b60 Added support for SHA512 format passwords, created common function to validate a password 2011-02-11 16:20:02 -08:00
Jamie Cameron
8188286368 Cache MD5 mode lookup 2009-11-25 23:10:24 -08:00
Jamie Cameron
9dbd5db2c9 Fix permissions 2009-07-20 23:42:32 -07:00
Jamie Cameron
29c7d03fe2 Fix use_md5 on linux 2009-01-15 05:19:04 +00:00
Jamie Cameron
a01b2fa713 Handle @include lines when looking for MD5 in PAM 2008-08-12 17:37:19 +00:00
Jamie Cameron
b8a9a76aff Fixed PAM MD5 password detection 2007-11-23 02:26:13 +00:00
Jamie Cameron
fc1c1b243f Initial checkin of Webmin 2007-04-12 20:24:50 +00:00