Commit graph

99 commits

Author SHA1 Message Date
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
28b0775be9
Try to prevent injection attacks 2021-11-30 20:52:44 -06:00
bfb219c7f2
Make scripts more robust 2021-11-29 22:17:26 -06:00
7ff1489a7b
Automatically generate UID using getent passwd 2021-11-29 18:27:39 -06:00
00a7b2e1d7
Fix email parsing bug 2021-11-29 17:52:51 -06:00
Anthony Wang
6b1d4b4a95 Update README name 2021-11-25 11:48:40 -06:00
Anthony Wang
21c8a60dc8 Add AGPL license 2021-11-25 11:47:18 -06:00
3536e5395c
Discontinue exocalc 2021-11-24 18:08:08 -06:00
f5d5bf0489
Prevent arbitrary code execution in register script 2021-11-24 15:52:06 -06:00
5f058a1f35
Hash the password first 2021-11-23 21:53:28 -06:00
400882f486
Remove ldif file if adduser is unsuccessful 2021-11-23 15:59:23 -06:00
a4820fae58
Add registration code 2021-11-23 15:58:25 -06:00
9df4ff1af6
Don't add user if ldapadd returns a nonzero exit code 2021-11-22 19:38:04 -06:00
c7a68d1941
Move ldif file after adding user 2021-11-22 15:54:11 -06:00