This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Interactive user creation with Vaultwarden ingest. | |
| # Defaults: admin=Y, ssh=Y, generate-password=Y, length=20, vault-ingest=Y (=> "YYY20Y") | |
| # Press Enter at any prompt to accept the default. | |
| # | |
| # Run as root: | |
| # curl -fsSL <url> | bash | |
| # Or save first: | |
| # curl -fsSL <url> -o setup.sh && bash setup.sh | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Moonglow admin user setup | |
| # Creates claude-moonglow-admin with random password, sudo, SSH dir, PVE Administrator role. | |
| # Run on Moonglow as root. | |
| set -e | |
| USERNAME="claude-moonglow-admin" | |
| CRED_FILE="/root/moonglow-admin-credentials.txt" |