Commit graph

212 commits

Author SHA1 Message Date
c67b7889af
Replace ldap_pass with ldappass() 2022-01-25 07:36:48 -06:00
e763317fff
Move ldappass and secret code to its own file and cleanup 2022-01-25 07:34:34 -06:00
0096bc4df5
Move ldappass to separate file 2022-01-24 22:21:41 -06:00
9f3e63656b
Create systemd service for srvuser 2022-01-24 21:51:42 -06:00
39f3a613cb
Read code and ldap_pass from file correctly 2022-01-24 20:43:21 -06:00
62944a8301
Restructure register server as Python library and wrapper script 2022-01-24 20:40:38 -06:00
00baca263a
Fix permissions on Python libraries 2022-01-24 20:29:45 -06:00
99b6138d42
Move ldif file to correct directory 2022-01-24 20:27:18 -06:00
b3d563093d
Search /usr for pacnew files when upgrading 2022-01-24 20:20:46 -06:00
6e856e93cd
Separate user management scripts into Python libraries and wrapper scripts 2022-01-24 20:15:49 -06:00
b12dff61f2
Make sure to import os.rename in adduser to avoid crashes 2022-01-19 15:47:43 -06:00
8bbc5728e5
Use CRYPT instead of SHA1 for hashing 2022-01-18 12:30:04 -06:00
84063453db
Remove cert expansion script 2022-01-16 16:40:18 -06:00
f615cb22ca
Move registration server port to 1337 2022-01-16 16:35:05 -06:00
f80292a316
Use default ACLs so we don't need to setfacl every cert renewel 2022-01-16 11:04:21 -06:00
5a475dce35
Delete now-useless finding used UIDs script 2022-01-13 19:15:40 -06:00
9228477954
Use docstrings instead of comments and add more docs 2022-01-13 18:21:28 -06:00
fa4582b9a0
Use remove and chown from os instead of subprocess.run 2022-01-12 17:38:32 -06:00
6de4c89726
Fix backup-ldap chown glob 2022-01-10 17:49:17 -06:00
cd5e04057d
Make backups in /mnt/drive/bup 2022-01-10 07:47:19 -06:00
a6c93a6fd4
Only index certain top level directories for backup 2022-01-09 19:42:49 -06:00
d203bcd0e2
Add LDAP backup script 2022-01-09 14:55:16 -06:00
5676b3f046
Ignore more cache files and games in backup script 2022-01-09 14:54:26 -06:00
81936ae18f
Fix ldif multiline string indentation 2022-01-05 19:07:41 -06:00
1ccf759747
Correctly import adduser module 2022-01-05 19:01:32 -06:00
47a84321ec
Add a Python .gitignore 2022-01-05 18:49:54 -06:00
d1508cba11
Import adduser module correctly since it's not a .py file 2022-01-05 18:49:46 -06:00
46002ce239
Clean up register script and import adduser module 2022-01-05 18:38:44 -06:00
b8cf7b4ae7
Python style updates 2022-01-05 18:34:40 -06:00
0e026fbf12
Implement a SHA1 password hash 2022-01-05 18:33:31 -06:00
a98bf6122c
Remove adduser confirmation 2022-01-05 18:10:08 -06:00
8dc5c69150
Only import needed functions 2022-01-05 18:09:54 -06:00
24746ca761
Replace shell commands with lists for subprocess run 2022-01-05 18:04:23 -06:00
0af014b976
Clean up moduser and deluser scripts 2022-01-05 17:26:51 -06:00
83bbed7ac6
Replace os.system with subprocess.run 2022-01-05 17:26:21 -06:00
7d4a162f31
Make upgrade script executable 2022-01-05 17:00:36 -06:00
bab73d6507
Clean up README 2022-01-05 17:00:22 -06:00
a1312f6898
Use absolute path to adduser executable in register script 2022-01-05 15:42:57 -06:00
55f64ad13b
Add upgrade script 2021-12-20 13:12:02 -06:00
fba9e7ee26
Add /usr to backup paths and remove unneeded backup folders 2021-12-18 13:28:13 -06:00
b120bb2d49
Add unused UID finder script 2021-12-16 10:33:05 -06:00
789cdf5365
Correctly edit /etc/subuid file 2021-12-11 15:28:13 -06:00
59165f9ae8
Create setid script for rootless Podman 2021-12-11 14:50:30 -06:00
17d515ce7a
Cleanup synapse-rm 2021-12-11 14:45:19 -06:00
4cfd8d01ad
Add interactive mode for all *user scripts 2021-12-11 14:45:12 -06:00
6db81fda52
Move ldif user directory to ~/git/LDAP/users 2021-12-10 22:13:57 -06:00
71eb72f8b2
Add missing bracket in register script 2021-12-10 22:12:08 -06:00
802a92c6e5
Use subprocess.run instead of os.system to hopefully fix arbitrary code execution bugs for real this time 2021-12-06 17:52:45 -06:00
f91da4f99d
Lint Python scripts 2021-12-03 19:46:51 -06:00
5866de7915
Add pacplot script 2021-12-03 08:49:14 -06:00