tschettervictor
454288b2b1
bastille: Load config only from commons.sh
...
Since all files source common.sh anyway, we don't want to source the config twice.
2025-03-02 11:23:35 -07:00
tschettervictor
6ba11dc762
bastille: Support user based config
...
This PR will allow bastille to be configured based on the user you run as.
To load the config for a specifig user, you must be logged in as the specified user, and there must be a file called "bastille_user.conf" inside /usr/local/etc/bastille or else bastille will just load the default config file.
2025-03-01 18:48:14 -07:00
tschettervictor
21b79247ab
limits: Implement new functions
2025-02-23 12:11:35 -07:00
Juan David Hurtado G
8b0411c111
Add SPDX license identifiers and update copyright years
...
Added SPDX-License-Identifier to all scripts for better license clarity and compliance. Updated the copyright years from 2024 to 2025 in various files to reflect the current maintenance period.
2025-01-11 14:07:41 -05:00
Juan David Hurtado G
7dbe1e761b
rel: update copyright year and release version
2024-11-24 09:46:09 -05:00
Christer Edwards
4efcc5021c
update copyright dates
2023-07-14 21:02:14 -06:00
Lars Engels
64c3b6045e
Allow running bastille and subcomands with help flags as regular user
2023-03-16 20:58:11 +01:00
Christer Edwards
aafc2b3323
0.9.20220216 release
2022-02-16 23:28:09 -07:00
Christer Edwards
6fa744bbda
update 2021 copyright
2021-01-15 20:00:26 -07:00
Christer Edwards
01494ad3fd
Merge pull request #289 from chriswells0/limits-fixes
...
Update existing limit when a new value is provided.
2020-12-12 11:54:05 -07:00
Petru Garstea
02f9df6cc0
log rctl events to /var/log/messages
2020-12-11 15:47:48 -05:00
Chris Wells
b90d8c60f7
Update existing limit when a new value is provided.
...
Closes #233 .
2020-11-29 11:34:18 -05:00
Chris Wells
8b4d18f8f3
Create info() and warn() for cleaner print statements.
2020-11-25 21:19:08 -05:00
Chris Wells
c6aded8d0a
Ensure target is specified and exists in 1 place instead of many.
...
Require target to be running for commands that need it.
Closes #239 .
2020-08-30 20:15:22 -04:00
Chris Wells
aaffc882f9
Create and leverage global error functions
2020-08-30 10:57:14 -04:00
Christer Edwards
388cb39607
Merge pull request #232 from hackacad/master
...
limits needs 3 args
2020-08-10 20:01:42 -06:00
hackacad
dc1b1f838a
limits needs 3 args
2020-07-28 19:15:43 +02:00
Chris Wells
42bafe7619
Execute template hooks using Bastille subcommands
2020-05-24 20:41:11 -04:00
Marius van Witzenburg
f28054b47e
Cleanup whitespace
2020-04-14 11:53:11 +02:00
Jose
19cadec03e
Add quoted variables to rctl
2020-02-14 11:43:26 -04:00
Jose
7ef65036c6
Return proper warning messages, code cleanup
2020-02-14 11:00:02 -04:00
Jose
498029a13c
Code improvements, use awk for exact match
2020-02-05 07:00:11 -04:00
Christer Edwards
8b9760b0a5
initial support for limits automation; updated copyright year
2020-01-26 09:51:02 -07:00
Sven R
bac677dc41
added ressource limits
2019-12-23 10:54:09 +01:00