Useful scripts for Arch Linux servers
Go to file
2022-05-23 22:17:07 -05:00
.gitignore Add a Python .gitignore 2022-01-05 18:49:54 -06:00
adduser Move ldappass and secret code to its own file and cleanup 2022-01-25 07:34:34 -06:00
adduser.py Don't save new user ldif file to a Git repo 2022-02-08 17:22:04 -06:00
api Rename srvuser to api 2022-05-23 22:17:07 -05:00
api.py Rename srvuser to api 2022-05-23 22:17:07 -05:00
backup Make home dir backups opt-in 2022-04-24 16:02:05 -05:00
deluser Fix permissions on Python libraries 2022-01-24 20:29:45 -06:00
deluser.py Move ldappass to separate file 2022-01-24 22:21:41 -06:00
ldappass.py Properly send srvuser response body 2022-05-23 22:10:31 -05:00
LICENSE Add AGPL license 2021-11-25 11:47:18 -06:00
moduser Separate user management scripts into Python libraries and wrapper scripts 2022-01-24 20:15:49 -06:00
moduser.py Move ldappass to separate file 2022-01-24 22:21:41 -06:00
pacplot Correctly count number of installed pacakges in pacplot 2022-02-09 10:38:15 -06:00
README.md Typo in README 2022-02-09 10:53:30 -06:00
setid Python style updates 2022-01-05 18:34:40 -06:00
synapse-rm Python style updates 2022-01-05 18:34:40 -06:00
upgrade Don't manually check /etc for pacnew files when upgrading 2022-03-26 17:51:57 -05:00

Scripts

Scripts for managing Arch Linux servers

Overview

User management

The adduser.py, deluser.py, moduser.py, srvuser.py, and ldappass.py libraries implement a Python API for managing LDAP users. There is also a set of simple wrapper scripts to use the libraries from the command line.

upgrade

Upgrades the system, all AUR packages, and Nextcloud.

backup

Creates an incremental system backup using bup.

setid

Sets up the /etc/subuid and /etc/subgid files for rootless Podman.

synapse-rm

A command-line wrapper around synadm to quickly delete multiple Matrix rooms.

pacplot

Graphs the number of installed packages over time by parsing /var/log/pacman.log.