49 Commits

Author SHA1 Message Date
78d2d6aff1 * Add flag ignore_errors to allow uninterrupted fragment deployment
* Other minor updates
2025-04-27 09:08:14 +02:00
813315bc4f Update link 2024-08-03 20:21:15 +02:00
6e1af4dd02 Merge branch 'master' of github.com:patvdv/sudo_controls 2021-06-16 22:31:30 +02:00
518e049a12 Fixes in resolve_alias() & resolve_targets() 2021-06-16 22:29:35 +02:00
Patrick Van der Veken
0ceb4120be Bad copy/paste, urgh 2021-03-24 11:27:30 +01:00
e601284bc8 Update documentation link 2021-02-01 21:05:40 +01:00
Patrick Van der Veken
1c0d1139aa ksh88 + whitespace fix 2021-01-11 16:05:54 +01:00
Patrick Van der Veken
a7ee16d454 Fixed problem with old AWK's max input line of 3000 bytes 2021-01-09 14:22:24 +01:00
Patrick Van der Veken
330e413b98 * added support for SELinux (CentOS/RHEL 8.x)
* various fixes
2020-12-30 19:23:11 +01:00
Patrick Van der Veken
af291c07e0 Fixed bug in sftp_file(): when file does not contain a directory path, the $TRANSFER_DIR was wrongly calculated 2020-05-28 17:37:34 +02:00
patvdv
0adabe65cc Fix for ksh93 -> ksh88 compatability (Peter Stoops) 2018-11-24 10:15:03 +01:00
patvdv
e5e2981d88 Doc update 2018-11-03 23:36:40 +01:00
patvdv
465c2cec90 Doc update 2018-11-03 23:21:39 +01:00
patvdv
7aee2b336d Doc update 2018-11-03 16:59:35 +01:00
patvdv
af9ed19d6b * Added support to specify @group values for the --targets parameter and in the targets file(s)
* Added support for nested aliases: up to 5 levels deep instead of just
one level
* Added --resolve-alias/--alias command-line parameter to manually check
the resolution any alias
* Fixed propagation of --debug flag (to clients & slaves)
* Fixed propagation of --create-dir flag (to clients & slaves)
* Fixed problem in --fix-local routine (by adding optional --fix-user
command-line parameter and code)
* Fixed check when adding key to ssh-agent
* Added checking on alias resolution in --check-syntax routine
* Better trap setting
* Added typeset-ing to vars
* Switched version numbering (now date based)
* Code cleanup (now error & warning free in shellcheck/perlcritic
linters)
2018-11-03 16:35:59 +01:00
patvdv
4e464ffeb0 Fix 2018-10-29 19:31:38 +01:00
patvdv
0ef4fa6dd9 Fix linter errors 2018-10-28 21:55:20 +01:00
Van der Veken Patrick
73f0f146d1 Removed HISTORY comments 2017-10-26 09:11:44 +02:00
patvdv
dc86b054aa fix for DO_SLAVE, improved check_root_user() calls (VRF 1.5.2) [Patrick Van der Veken] 2015-12-13 15:07:13 +01:00
patvdv
09a1b75b3c Update doc 2015-10-10 21:17:20 +02:00
patvdv
554661e502 simplified handling of SSH agent handling, obsoleted DO_SLAVE_SSH_AGENT option (VRF 1.5.1) [Patrick Van der Veken] 2015-10-10 21:15:16 +02:00
patvdv
50c62d7a4b Update doc 2015-10-03 20:08:37 +02:00
patvdv
787966ff39 Update doc for master->slave operations 2015-10-03 20:06:15 +02:00
patvdv
e38facb5d9 added --slave option, 3 new configuration parameters & supporting functions for master->slave operations, several bug fixes including sudoers.d ownerships on HP-UX (VRF 1.5.0) [Patrick Van der Veken] 2015-10-03 20:04:23 +02:00
patvdv
2a878a12bb Update doc 2015-09-27 17:59:16 +02:00
patvdv
33f2c00db0 added SSH host keys discovery, re-assigned '-d' command-line option to this function, 2 new parameters in manage_sudo.conf (VRF 1.4.0) [Patrick Van der Veken] 2015-09-27 17:53:53 +02:00
Patrick Van der Veken
194c2cf5b4 added $GLOBAL_CONFIG_FILE
added $GLOBAL_CONFIG_FILE to fix ownership/permissions routine (VRF
1.3.3) [Patrick Van der Veken]
2015-09-23 13:13:59 +02:00
Patrick Van der Veken
bd650d1959 small fix in wait_for_children()
# @(#) 2015-09-15: small fix in wait_for_children() (VRF 1.3.2) [Patrick
Van der Veken]
2015-09-15 12:35:36 +02:00
Patrick Van der Veken
db6bb36703 Failure in local update should be die() 2015-09-09 13:22:24 +02:00
Patrick Van der Veken
446848c94d Log handling
better handling of leading log sigils in die(), log(), logc() and
warn(), fix in count_fields() (VRF 1.3.1)
2015-09-09 12:50:37 +02:00
Patrick Van der Veken
deed41c199 wrong handling of RC=0 in system() 2015-09-09 09:35:30 +02:00
Patrick Van der Veken
2517110854 Forgot to bump up VRF. 2015-09-09 09:21:08 +02:00
Patrick Van der Veken
b055b03471 Fix $selinux_context re-initialization 2015-09-09 09:20:03 +02:00
patvdv
d1f0944971 VRF 1.3.0: proper error checking for asynchronous jobs, using logc(). Other fixes. 2015-09-06 12:59:10 +02:00
Patrick Van der Veken
53bdeb8ec6 Fix in wait_for_children()
wait should not be called in a sub-shell
2015-09-04 09:56:49 +02:00
Patrick Van der Veken
86f8d01dfe Change options & fixes
DO_SFTP_CHMOD=1 + fixes
2015-08-28 09:00:47 +02:00
Patrick Van der Veken
38ed96c745 check_config() update
check_config() update
2015-08-28 08:57:29 +02:00
patvdv
fc666f4a4f Fixed options 2015-08-27 17:19:16 +02:00
patvdv
8351a78e66 Small fix 2015-08-27 17:12:29 +02:00
patvdv
86e9b9054a Small fix in sfttp_file() 2015-08-27 17:12:13 +02:00
Patrick Van der Veken
9c298e0c79 Added DO_SFTP_CHMOD parameter
Also small and not so small fixes
2015-08-26 15:02:03 +02:00
patvdv
d077d8f213 Fix syntax error 2015-08-22 19:03:36 +02:00
patvdv
1372b78ea0 Fix copy/paste errors 2015-08-19 18:35:17 +02:00
Patrick Van der Veken
79a5835017 Removed erroneous file
Removed .bak file
2015-08-19 10:05:45 +02:00
Patrick Van der Veken
7726d1579c Various updates
manage_sudo.sh: moved essential configuration items of the script into a
separate configuration file (global/local), fix in wait_for_children
(VRF 1.2.0) [Patrick Van der Veken]
update_sudo.pl: VRF 1.1.0: replace uname/hostname syscalls, now support
for FQDN via $use_fqdn, other fixes [Patrick Van der Veken]
Other fixes and cleanups
2015-08-18 07:59:22 +02:00
patvdv
389aacac9b Env correction 2015-08-09 18:11:13 +02:00
patvdv
e9ad69e693 Wrong value 2015-08-08 20:27:44 +02:00
Patrick Van der Veken
4f1b5d61c8 Initial commit 2015-05-20 14:52:00 +02:00
Patrick Van der Veken
22d6f08bde Initial commit 2015-05-20 14:43:04 +02:00