Ilia Ross
f7b8ef379f
Fix terminal mode handling
...
Tests / prove (push) Has been cancelled
Build / build (push) Has been cancelled
ⓘ Avoid forcing xterm shell PTYs into IO::Stty raw/noecho mode, which can leave interactive shells with broken echo, line editing, and control-key behavior. Keep the existing stty logic for other PTY callers, but add an opt-out flag so xterm can let the shell manage terminal mode normally.
https://github.com/webmin/webmin/issues/2452
2026-06-03 18:43:53 +02:00
Ilia Ross
6cd04c131c
Fix to steal if needed and don't fail unless term wanted #2595
2025-11-29 22:19:02 +02:00
Ilia Ross
74f879dc2b
Fix to move sub to Linux lib
...
https://github.com/webmin/webmin/pull/2589#discussion_r2539675817
2025-11-18 23:16:10 +02:00
Ilia Ross
94cbabea9e
Add support for using pure-Perl Linux fallback to open PTY
2025-11-18 20:15:26 +02:00
Ilia Ross
f5b3f9cc1d
Fix to use os_type for OS check
...
0ac51a83e9 (r145024453)
2024-08-06 12:21:19 +03:00
Ilia Ross
0ac51a83e9
Add an API to count processes
2024-08-03 17:05:56 +03:00
Jamie Cameron
c391830670
Fix more cases where switch_to_unix_user isn't being passed the username
2024-07-22 16:48:28 -07:00
Jamie Cameron
c1f45d6d61
When running a command as a different user, the username needs to be passed to switch_to_unix_user so that all the secondary groups can be populated https://github.com/webmin/webmin/issues/2223
2024-07-22 16:11:37 -07:00
Jamie Cameron
fe8f3f8494
Use standard buffer size
2023-09-04 11:13:45 -07:00
Jamie Cameron
94f23e63e7
Hide ps command in output
2023-08-31 22:44:44 -07:00
iliajie
e260a96d93
Add API to use theme dependent code for page refresh
2023-05-06 12:54:13 +03:00
Jamie Cameron
3f1a9a5d8b
Fix exec with a custom binary when the command has args
2022-11-12 11:04:30 -08:00
Jamie Cameron
ad70a474d9
Run shell as a login shell
2022-11-10 21:38:05 -08:00
Jamie Cameron
d55fc76bf6
Include command in lsof result
2022-06-07 22:01:21 -07:00
Jamie Cameron
536827a96a
Quote everything https://github.com/webmin/webmin/issues/1587
2022-01-28 18:11:41 -08:00
Ilia Rostovtsev
2eaabe9119
Remove debug function
2020-09-18 21:00:07 +03:00
Ilia Rostovtsev
19edb9f7dd
Use chdir() only when in Webmin root
2020-09-18 20:59:07 +03:00
Ilia Rostovtsev
f8fbf304f2
Prevent exec process writing into module's directory https://github.com/webmin/webmin/issues/1296
2020-09-18 14:08:30 +03:00
Ilia Rostovtsev
647f387b22
Increse buffere size
2020-06-25 16:55:38 +03:00
Jamie Cameron
e1daada73a
Add function to get all open files
2020-04-26 15:25:24 -07:00
Jamie Cameron
eeba63c7ad
Add new function to get all the open sockets
2020-04-26 15:14:44 -07:00
Jamie Cameron
6ce4598244
Don't try to run lsof if we know it's not installed
2020-04-26 10:30:43 -07:00
Jamie Cameron
e581097113
Show start time nicely formatted https://github.com/authentic-theme/authentic-theme/issues/1387
2019-07-30 23:05:07 -07:00
Jamie Cameron
525db8ff5d
add option to hide index.cgi process
2018-05-18 15:41:36 -07:00
Nawawi Jamili
ced1acc9e5
ui_link conversion -> proc
2013-12-19 16:22:28 +08:00
Jamie Cameron
941696f89e
Use uptrack uname command to get spliced-in kernel version if possible
...
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3400781&group_id=17457
2011-08-30 11:28:22 -07:00
Jamie Cameron
f0bb980ebe
Use new API for clearing language
2011-08-22 21:41:32 -07:00
Jamie Cameron
2c79840df0
Show CPU model info on system information page
2009-11-15 11:07:35 -08:00
Jamie Cameron
0973c1c40f
Handle missing comma
2009-10-11 09:38:24 -07:00
Jamie Cameron
3272ee0029
Show collected info on main page
2009-10-05 17:32:30 -07:00
Jamie Cameron
9dbd5db2c9
Fix permissions
2009-07-20 23:42:32 -07:00
Jamie Cameron
0efd4129d2
Use switch_to_unix_user
2009-05-30 21:25:34 +00:00
Jamie Cameron
6de4f2fa04
Use switch_to_unix_user
2009-05-30 21:23:16 +00:00
Jamie Cameron
e4b3339748
Use POSIX::setuid where available
2009-05-30 21:19:05 +00:00
Jamie Cameron
53f283b0af
Use new module
2009-03-01 20:59:49 +00:00
Jamie Cameron
fec033fd09
Nicer warning
2008-06-16 17:37:19 +00:00
Jamie Cameron
f6bb7384ad
Turn off echoing of commands run via ptys, if we can
2008-06-13 18:29:44 +00:00
Jamie Cameron
69b81e1518
More work on debugging
2008-05-10 17:31:11 +00:00
Jamie Cameron
a2dab195c7
Validate index file
2008-04-20 07:10:17 +00:00
Jamie Cameron
270bcfd5c2
Readonly mode fixes
2007-12-19 06:27:12 +00:00
Jamie Cameron
bec4d0cc86
Catalan updates
2007-11-27 17:38:54 +00:00
Jamie Cameron
a6895fd9cb
Set GIDs concurrently, to avoid MacOS bug
2007-07-30 20:41:21 +00:00
Jamie Cameron
95af1d3ba6
Set GIDs concurrently, to avoid MacOS bug
2007-07-30 20:34:49 +00:00
Jamie Cameron
fc1c1b243f
Initial checkin of Webmin
2007-04-12 20:24:50 +00:00