Useful scripts for Arch Linux servers
Go to file
2022-05-23 22:42:47 -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 autopep8 everything 2022-05-23 22:42:31 -05:00
api Rename srvuser to api 2022-05-23 22:17:07 -05:00
api.py Don't autocapitalize names 2022-05-23 22:42:47 -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 autopep8 everything 2022-05-23 22:42:31 -05:00
ldappass.py autopep8 everything 2022-05-23 22:42: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 autopep8 everything 2022-05-23 22:42:31 -05:00
README.md Document the new api.py script better in the README 2022-05-23 22:32:30 -05: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, 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.

The ldappass.py library implements a simple function for fetching a password from /etc/ldappass (make sure the file is only root-readable) for automated user management.

api

A simple and extensible web API for users to manage their accounts.

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.