Tools for administration on the student server of Osaka Univ. Medical School.
Set SSH public key for arbitrary user, by root authority. Use it in the initial settings after creating a user.
Now the remnant processes are automatically terminated. You do not need to run these script.
Kill all the SSH processes of you, except the one on which this script is run.
Kill all the SSH processes of all users that have been idle for more than a day.
Make a directory with a user's name and owned by the user, for all the users at the same time, at the current directory.
Script series to copy Btrfs/ZFS filesystems with snapshots, together with the snapshots structure, to same or different filesystems.
A Slack Bot script, which list-up the members who logged in during a term (e.g. in the previous day) and post it to the specified channel automatically.
Time Machine backup system implemented by Python, using Btrfs (and partly compatible with ZFS) snapshot function.
Read message from the standard input and post it to slack.
You can split it to multiple posts, by using the --separator option.