Commit graph

204 commits

Author SHA1 Message Date
20958f6bd6 adds books into calibre library 2023-08-12 12:35:21 +00:00
8d5f4c940c
Remove symlinks from scripts repo 2023-07-22 16:14:38 +00:00
01665179eb
Make style consistent across *user scripts 2023-07-13 20:09:48 +00:00
eac3f38a6c
Write script which will be used by porkbun-dynamic-dns-python that adds the public IPv4 address to NetworkManager 2023-07-06 21:20:10 +00:00
266bfec24d Autodetect user for moduser script 2023-06-16 16:37:18 +00:00
f66983313f
Pass LDAP password filename instead of password itself in *user scripts
This ensures the LDAP password doesn't show up in process table. I was an idiot when I wrote the original code.
2023-06-14 18:57:02 +00:00
8934c273ba
Update description for upgrade script 2023-06-07 15:42:20 +00:00
5bebd74248
Use $* instead of $@ in mastosearch so bash puts all args in a single string 2023-06-07 15:04:19 +00:00
2247d396c9
Use ilike instead of like for case insensitive search 2023-06-06 22:09:24 +00:00
541599d73f
Remove old useless scripts and add mastosearch script 2023-06-06 22:06:40 +00:00
57336c16d0
Move fortune script to fotd package 2023-06-02 19:17:46 +00:00
a0e1f9cc87
Add fun fortune script (which is really just shuf -n 1 /etc/fortune) 2023-06-02 03:55:28 +00:00
a03e2b4a34
Use fstrings to simplify setid 2023-05-29 00:09:16 +00:00
6b4e580c40
Add a comment about password hashing in adduser 2023-05-29 00:04:50 +00:00
97e60b232d
Save password to temporary file instead of passing to subprocess in adduser
This prevents an attacker from monitoring the running processes and capturing passwords
2023-05-29 00:03:38 +00:00
57813cba9e
Upgrade Nextcloud in script instead of with pacman hook 2023-05-28 03:29:53 +00:00
f0e758b997
Use openssl passwd -6 instead of Python crypt.crypt since crypt is deprecated and getting removed in Python 3.13
(And some sweet code cleanup too!)
2023-05-06 21:20:14 +00:00
de812ce3bd
Make sure fullname is set 2023-04-23 17:42:18 +00:00
4d29a3db1c
Avoid duplicating name in adduser when user's first and last name are the same 2023-04-22 16:30:47 +00:00
b111dcfdac
Make UIDs smaller for subuid and subgid 2023-01-13 16:48:43 +00:00
c666bbe689
Fix UID mismatch bug by directly querying ldapsearch 2023-01-11 16:21:01 +00:00
660e75bff2
Simplify adduser script, manually set KDE_SESSION_VERSION for xdg-settings 2023-01-10 04:19:16 +00:00
4eaef3e931 Symlink vi to vim and nano to micro 2023-01-07 20:37:57 +00:00
c2460134b0
Check unused groups in sysusers script too 2022-12-29 17:17:23 +00:00
ecf9c4d160
Clean up Nix store on upgrade 2022-09-23 17:44:57 +00:00
68bafe32d4
Fix #2: Run Flatpak with sh -c to avoid sudo error 2022-09-06 10:55:46 -05:00
8f93ac0203
Fix typo of pacdiff -sf to pacdiff -s -f 2022-08-17 21:34:11 -05:00
2827c994b5
Clean up pacdiff commands 2022-08-17 21:16:21 -05:00
f08783a66d
Add comment in upgrade that Nextcloud is upgraded by pacman hook 2022-08-17 14:55:08 -05:00
485b63476b
Use nvim -d for pacdiff DIFFPROG 2022-08-16 23:12:09 -05:00
e088a1b5da
Delete old bup backup script 2022-08-03 13:41:22 -05:00
Anthony Wang
91c393b3c7
Delete 'README.md' 2022-07-21 14:50:03 -05:00
e4524713e9
Fix backup script typo 2022-07-03 22:26:03 -05:00
61a47aa3c2
Don't backup systemd-nspawn containers 2022-07-03 22:06:14 -05:00
cd2d189761
Make backup script actually fish-compatible 2022-06-27 15:01:06 -05:00
db11a370de
Make moduser filter out unnecessary entries and use micro editor by default 2022-06-27 14:49:16 -05:00
fd52a5c175
Use /etc/passwd instead of getent passwd for sysusers script to filter out LDAP users 2022-06-25 21:25:35 -05:00
6504f796fa
Run autopep8 on all Python scripts 2022-06-25 19:23:12 -05:00
d619b166be
Generate temporary password in adduser 2022-06-25 19:22:04 -05:00
ee81994947
Move documentation from README to individual scripts 2022-06-25 19:13:57 -05:00
1eadc49cf0
Discontinue the API 2022-06-25 18:34:57 -05:00
33647c34a0
Rewrite and clean up scripts 2022-06-25 18:08:57 -05:00
a2c999a1cc
Remove setid script 2022-06-25 15:59:51 -05:00
06f4eddd04
Use pacman hook to update Nextcloud instead of script 2022-06-23 12:30:30 -05:00
689c04cbb0
Add script for tracking down unneeded sysusers 2022-06-18 11:43:37 -05:00
0aca55c84f
Add more stuff to exclude 2022-06-18 11:43:28 -05:00
3213b81076
Exclude .nuget in backups 2022-06-17 14:03:53 -05:00
90e7b4da95
Remove ~/.phoronix-test-suite from backup excludes 2022-05-25 17:28:57 -05:00
75210e8443
Update backup exclude list 2022-05-24 14:57:47 -05:00
2ff3da5c03
Correctly locate exclude file in backup script 2022-05-24 14:57:18 -05:00