40 Commits

Author SHA1 Message Date
Ilia Ross 113846d243 Fix to use one-time Usermin login URLs for switches
ⓘ Replace the legacy Usermin switch cookie/restart flow with a short-lived `session_login.cgi` handoff, while keeping the old API as a compatibility wrapper.

https://forum.virtualmin.com/t/usermin-2-550-login-from-the-virtualmin-edit-users-page-stopped-working/137491/37?u=ilia
2026-07-08 00:39:47 +02:00
Ilia Ross db8e34e528 Fix to read SSH key from real home path
ⓘ Display Webmin-managed SSH public keys from the configured real home directory for automatic home accounts, matching the save path and avoiding accidental blank key fields.
2026-06-24 00:54:26 +02:00
Ilia Ross 762e400156 Add editable SSH public keys for existing Unix users
This PR adds SSH public key management to the Users and Groups edit flow for existing Unix users.

Webmin stores its managed key with a readable marker in `authorized_keys`, validates submitted public keys, preserves unrelated keys, supports rename/update/remove flows, and performs user `.ssh` file operations as the target Unix user.

https://github.com/webmin/webmin/issues/1827
2026-06-22 01:34:40 +02:00
Ilia Ross d37b790492 Fix not to drop that last empty paragraph as it break one pixel-accurate UI 2025-11-04 00:52:19 +02:00
Jamie Cameron 6e6c9c26c7 Logic cleanup 2025-01-27 21:55:06 -08:00
Jamie Cameron 60bba6cb81 Modes can be a regular array 2025-01-27 21:44:53 -08:00
Ilia Ross 5931243e4d Fix to instruct the browser not to save password fields
https://github.com/webmin/webmin/issues/847#issuecomment-2480540430

[build]
2024-11-17 14:00:56 +02:00
iliajie 70fce1f97e Fix not to display no password option 2023-04-27 23:11:55 +03:00
Jamie Cameron 722bfb54ec Add field to setting the SSH public key when adding a user https://github.com/virtualmin/virtualmin-gpl/issues/284 2021-05-02 16:58:24 -07:00
Jamie Cameron a2dc3f7124 Switch all calls to open() to explicitly open for read 2020-03-14 17:20:54 -07:00
Jamie Cameron c222dac785 preserve password on clone 2016-05-27 17:50:40 -07:00
Jamie Cameron 3fe4bc337a Fix text name 2016-05-26 11:33:35 -07:00
Jamie Cameron 262bbd3e03 Clone user UI 2016-05-25 19:15:40 +02:00
Jamie Cameron 85242b1b24 Give more space to freebsd date fields 2013-03-12 22:24:29 -07:00
Jamie Cameron 4ef74c55ee Open usermin login in a new frame, to avoid frame-origin policy https://sourceforge.net/tracker/?func=detail&atid=485894&aid=3597042&group_id=17457 2012-12-17 16:44:24 -08:00
Jamie Cameron 8a16bc7a09 Replace all occurrances of timelocal.pl with Time::Local https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3566479&group_id=17457 2012-09-10 16:49:31 -07:00
Jamie Cameron ecd8f4cfa3 Properly sort group list 2011-12-27 16:10:39 -08:00
Javier Bassi d87118cc4b Escaping group name. 2011-10-19 00:18:32 -02:00
Jamie Cameron 4334a3cef1 Fix typos 2011-08-26 09:11:52 -07:00
Jamie Cameron e96015a92c Make all user and group links be by name instead of by index. 2011-05-30 18:09:29 -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 10ffa287f6 re-factor random password generation function, use in LDAP module
https://github.com/webmin/webmin/issues#issue/9
2010-11-16 11:07:38 -08:00
Jamie Cameron 293ba080db Fixed shell list bug 2009-03-24 19:27:16 +00:00
Jamie Cameron a0f655719b Select default shell properly 2008-11-01 17:09:27 +00:00
Jamie Cameron f3206b076d Fix bugs in edit user page when shells and groups are limited 2008-10-28 23:55:46 +00:00
Jamie Cameron ab9c9cd7da Nicer formatting on AIX 2008-10-20 17:52:45 +00:00
Jamie Cameron 5df2a340bc Handle default vs 0 better on AIX 2008-10-15 21:53:52 +00:00
Jamie Cameron 6b9c777aea Strip extra commas 2008-09-02 05:06:38 +00:00
Jamie Cameron 4912949dee More ui-libification of users and groups module, plus generic 'are you sure' function 2008-08-25 21:44:00 +00:00
Jamie Cameron 31147b77f1 Pretty much completed ui-libification 2008-08-22 01:29:11 +00:00
Jamie Cameron 91c1a0f0f0 User form ui-libification continues 2008-08-21 20:37:37 +00:00
Jamie Cameron 09caaaaced More ui-lib conversion 2008-08-16 00:50:56 +00:00
Jamie Cameron bacc98141b UI-lification 2008-08-14 18:52:36 +00:00
Jamie Cameron 50d96e1171 Improve forced change option 2008-06-21 00:50:24 +00:00
Jamie Cameron 974da61e75 Make force change available for new users 2008-06-20 17:02:58 +00:00
Jamie Cameron 6c52608f9c Completed support for OSX 10.5 user DB 2008-06-10 00:12:14 +00:00
Jamie Cameron ab43660b5e Allow spaces in user and group names in ACLs 2008-01-29 22:13:50 +00:00
Jamie Cameron 3fee375cc4 Rename group when renaming user 2007-12-07 18:06:30 +00:00
Jamie Cameron fdc4cf0dfa Bigger password field 2007-11-07 01:27:15 +00:00
Jamie Cameron fc1c1b243f Initial checkin of Webmin 2007-04-12 20:24:50 +00:00