Ilia Ross
a13461f9c1
Fix to respect global file ACLs for server-local imports
...
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
ⓘ Centralize global file ACL checks for server-local reads and applies them to batch, LDAP batch, MySQL, and PostgreSQL local import and restore flows. Files are read under the configured `fileunix` identity and staged with the correct command-user ownership, preventing constrained Webmin users from bypassing `root`, `otherdirs`, or `fileunix`.
9ceffce70f (r191495975)
2026-07-07 12:39:35 +02:00
Ilia Ross
098544473f
Fix PostgreSQL user/group SQL quoting with shared helpers ( #9 )
2026-03-10 17:29:17 +02:00
Jamie Cameron
7945a9f0e6
Don't globally change PGPASSFILE
...
https://github.com/webmin/webmin/issues/2592
2025-11-29 14:22:52 -08:00
Jamie Cameron
02dd766c80
Add function to change the DB login
2023-02-25 23:24:25 -08:00
Jamie Cameron
fc5483972b
Allow custom login for restore command
2023-02-25 23:00:46 -08:00
Jamie Cameron
a1aa6a41b6
Code cleanup
2023-02-25 19:14:05 -08:00
Jamie Cameron
ffcdcb560f
Add support for SSL connections
2023-02-24 15:28:10 -08:00
Jamie Cameron
f468efd888
Add support for restoring from a compressed file
2023-02-23 23:42:00 -08:00
Jamie Cameron
dee0ad64f9
Add support for compressed backups
2023-02-23 19:52:32 -08:00
Jamie Cameron
70546895cd
Columns in index might be quoted https://sourceforge.net/p/webadmin/bugs/5588/
2022-10-21 19:48:02 -07:00
Jamie Cameron
2f113ee72d
Don't set HOME globally as it can confuse subsequent commands https://github.com/virtualmin/virtualmin-gpl/issues/183
2020-07-11 09:39:33 -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
6dc5f419c9
Upper case table names need quotes https://sourceforge.net/p/webadmin/bugs/5342/
2020-01-05 12:17:14 -08:00
Jamie Cameron
e5dbd8e46c
Don't assume that datname is column 0 https://sourceforge.net/p/webadmin/bugs/5322/?page=1&limit=25#2ac7
2019-12-01 18:50:38 -08:00
Jamie Cameron
98677fd304
PostgreSQL 9.5 drops the can-create-user permission https://github.com/webmin/webmin/issues/359
2016-05-29 11:09:46 -07:00
Jamie Cameron
40a90f7c71
Use pg_users instead of pg_shadow in latest PostgreSQL versions https://sourceforge.net/p/webadmin/bugs/4727/
2016-03-27 16:26:19 -07:00
Jamie Cameron
be4da986ec
Use perl to filter out unwanted tables, as _ is a special character in SQL likes https://sourceforge.net/p/webadmin/bugs/4614/
2015-06-17 19:55:13 -07:00
Jamie Cameron
8297c3d42f
Pass port flag to backup and restore commands http://virtualmin.com/node/36093
2015-02-03 19:34:41 -08:00
Jamie Cameron
bd1e2ca828
Add param for selecting user to backup as
2014-12-17 14:54:32 -08:00
Jamie Cameron
e2fc6b848d
Clean up schedule backup cron job on DB deletion
2014-09-01 14:37:24 -07:00
Jamie Cameron
554164d052
Re-factor grant parsing, and fix bug that prevent grants from being displayed when DBI returns an array
2013-12-30 11:13:25 -08:00
Jamie Cameron
35087c94f7
Cleanup .pgpass files
2013-01-30 13:23:12 -08:00
Jamie Cameron
a07f139802
Fix backlinks in PostgreSQL module to go to Webmin
2012-07-28 17:45:15 -07:00
Jamie Cameron
6466469ebe
ALlow deletion of users with funny characters http://virtualmin.com/node/21484
2012-03-10 10:08:47 -08:00
Jamie Cameron
5fd32f9c11
Allow use of webmin variables in backup dests
2012-01-06 14:33:27 -08:00
Jamie Cameron
4314eec433
Fix assumption about orders if columns in pg_shadow
2011-12-11 15:21:41 -08:00
Jamie Cameron
21742599d6
Handle non-constant PostgreSQL pid file location
...
http://www.virtualmin.com/node/20398
2011-12-10 11:20:40 -08:00
Jamie Cameron
3f265b5388
Fix directory creation for scheduled backups, and create as the right owner
2011-03-05 17:31:43 -08:00
Jamie Cameron
98f4e91399
Support special backslash-l command
2011-02-25 21:23:26 -08:00
Jamie Cameron
4dbd56a48b
Remove deprecated defined(@foo)
...
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3138980&group_id=17457
2010-12-17 11:49:53 -08:00
Jamie Cameron
20a3936f43
Don't perform text substitutions where not needed
2010-12-05 22:48:54 -08:00
Jamie Cameron
f7ed79101f
Sort DB list by default
2010-11-29 23:16:04 -08:00
Jamie Cameron
9dbd5db2c9
Fix permissions
2009-07-20 23:42:32 -07:00
Jamie Cameron
1726d33b86
Catch query failure
2009-07-02 23:24:56 +00:00
Jamie Cameron
a8886d9da8
Use switch_to_unix_user
2009-05-30 21:25:02 +00:00
Jamie Cameron
74c89f8503
Use new module
2009-03-01 20:54:07 +00:00
Jamie Cameron
47f2d8a75b
Make sure strftime is always used in C locate
2009-02-27 00:21:42 +00:00
Jamie Cameron
c62c684d06
ui-libify several more pages
2009-01-08 23:16:37 +00:00
Jamie Cameron
c46888b76f
Perl doesn't allow last in a do loop
2008-12-29 18:54:08 +00:00
Jamie Cameron
bf98ce2347
Ubuntu 8.04 fixes
2008-04-30 21:02:30 +00:00
Jamie Cameron
40d497f505
Made UI options per-user
2008-01-07 23:33:13 +00:00
Jamie Cameron
1f12826b37
Support multiple hba.conf files, for Debian
2007-11-29 19:29:35 +00:00
Jamie Cameron
acfebb7105
Better primary key detection
2007-11-02 21:55:05 +00:00
Jamie Cameron
a415a19aba
Fixed HTML output format bugs
2007-04-29 19:33:07 +00:00
Jamie Cameron
9c46421110
Use HTML format output from pgsql
2007-04-29 05:13:08 +00:00
Jamie Cameron
fc1c1b243f
Initial checkin of Webmin
2007-04-12 20:24:50 +00:00