Commit graph

87 commits

Author SHA1 Message Date
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
3c6c1ca46f
Typo 2021-11-22 15:36:11 -06:00
a47aa8bf38
Add registration backend script 2021-11-22 15:15:48 -06:00
517df1b073
Add exohub 2021-11-22 12:17:00 -06:00
23b0b47eee
Add a new domain for Drone 2021-10-30 16:48:03 -05:00
3ee4f18da4
Remove a domain from expand-cert 2021-10-27 22:03:31 -05:00
ab9c2939c4
Expand cert for portal domain 2021-10-27 20:54:02 -05:00
9960f50f69
Add a new subdomain 2021-10-27 16:49:07 -05:00
Anthony Wang
9a6c0a19a3 Default confirm no for adduser 2021-10-06 19:06:15 -05:00
Anthony Wang
6fa480fc18 Ask for custom UID in adduser 2021-10-06 19:05:05 -05:00
Anthony Wang
7698a9a6a4 Use default editor for ldapvi in moduser 2021-09-17 11:11:29 -05:00
Anthony Wang
51dacc7aca Remove KDE launcher config for new users since it doesn't work 2021-09-16 22:30:10 -05:00
Anthony Wang
a4d02a875b Remove extra newline in adduser 2021-09-16 22:09:38 -05:00