project userspace part 1

This commit is contained in:
ducoterra
2020-05-22 21:27:19 -04:00
commit b720b73218
14 changed files with 397 additions and 0 deletions

5
createuser.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
export USER=$1
docker run -it -v $(pwd)/users/$USER:/$USER python:latest openssl genrsa -out /$USER/$USER.key 2048
docker run -it -v $(pwd)/users/$USER:/$USER python:latest openssl req -new -key /$USER/$USER.key -out /$USER/$USER.csr -subj "/CN=$USER/O=user"