{"id":34976382,"url":"https://github.com/plietar/slurm-auks","last_synced_at":"2026-05-25T14:32:55.161Z","repository":{"id":305665237,"uuid":"1023516740","full_name":"plietar/slurm-auks","owner":"plietar","description":"An experiment in running SLURM with Auks","archived":false,"fork":false,"pushed_at":"2025-07-21T10:14:30.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-21T12:13:40.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plietar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-21T09:25:06.000Z","updated_at":"2025-07-21T10:14:33.000Z","dependencies_parsed_at":"2025-07-21T12:14:26.607Z","dependency_job_id":"ffa112e7-e871-4de6-8775-c5cd25e4e9ef","html_url":"https://github.com/plietar/slurm-auks","commit_stats":null,"previous_names":["plietar/slurm-auks"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/plietar/slurm-auks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plietar%2Fslurm-auks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plietar%2Fslurm-auks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plietar%2Fslurm-auks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plietar%2Fslurm-auks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plietar","download_url":"https://codeload.github.com/plietar/slurm-auks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plietar%2Fslurm-auks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28065883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-26T02:00:06.189Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-27T00:13:19.230Z","updated_at":"2025-12-27T00:13:22.853Z","avatar_url":"https://github.com/plietar.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slurm with Kerberos using AUKS\n\nThis configures a set of VMs:\n- [`auth`](hosts/auth.nix) is an LDAP directory and Kerberos KDC. It is counterpart of an AD domain controller.\n- [`nfs`](hosts/nfs.nix) is the storage server, exporting an NFS share.\n- [`controller`](hosts/controller.nix) is the Slurm head node. It also runs the AUKS server.\n- [`worker`](hosts/worker.nix) is a Slurm compute node. In practice there would be many copy of it.\n- [`login`](hosts/login.nix) is a login node. It is where users are expected to SSH into to submit jobs.\n\nIn addition to the per-machine configuration, there is also a shared\n[`common.nix`](common.nix) file applied to every machine.\n\n## Running the VMs\n```sh\nnix run\n```\n\nThis uses [process-compose](https://github.com/F1bonacc1/process-compose) to\nrun all the VMs and show their logs.\n\n## Connecting to the machines\n\nYou can SSH into any machine using the following command, adjusting the\nusername and hostname as desired:\n```sh\nnix run .#connect root@auth\n```\n\nUnder the hood each machine runs an OpenSSH server on a VSOCK socket. The VSOCK\nsocket is exposed on the host as a UDS socket.\n[systemd-ssh-proxy](https://www.freedesktop.org/software/systemd/man/latest/systemd-ssh-proxy.html)\nis used to connect over the UDS socket (in vsock-mux mode).\n\nEvery machine has a local `root` account with password `root`.\nThere are also `user1` and `user2` network accounts with passwords `password1`\nand `password2`.\n\n## Demo\n\n```sh\nnix run .#connect -- user1@login srun --auks=yes hostname # Jobs do run on the worker machine\nnix run .#connect -- user1@login srun --auks=yes cat /data/user1 # OK\nnix run .#connect -- user1@login srun --auks=yes cat /data/user2/hello.txt # Permission denied\n```\n\nTry the same with changing the username, see that users only see their own directory.\n\nWait 5 seconds for the kernel's credentials cache to expire and try without `--auks=yes` to see lots of errors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplietar%2Fslurm-auks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplietar%2Fslurm-auks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplietar%2Fslurm-auks/lists"}