git
ask
hub
Privacy
Terms
Sign in with GitHub
jhamrick/restuser
↗
Language ·
Python
Simplify and Visualize This Repo
Scan the safety of this repo
Self Host this repo
Check out more work of Developer: jhamrick
Ask anything about this repo to start.
Show me how to run restuser on my host with sudo and mount its Unix socket into a Docker container so the container can create users.
Write a Python client that sends a POST request to restuser's Unix socket to create a new user named 'testuser' and prints the returned home directory and UID.
Explain the security model of restuser, why using a mounted Unix socket is safer than exposing a network port for user creation.
Help me set up the included Docker test client and server for restuser to verify user creation works, then clean up the created accounts.
Full explanation on explaingit →
📎
Send
By chatting or signing in you agree to the
Terms
and chat-message logging (revocable in
History
).