Last active
July 5, 2023 10:30
-
-
Save vpilot/bf8eea477f4ab97b55f3fdb6b8f4cade to your computer and use it in GitHub Desktop.
Create deploment user without login and password
This file contains 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 | |
# Create deploy user without login and password | |
# You may want to add this user to an existing group | |
# e.g.: usermod -a -G deploy www-data | |
adduser --disabled-login --shell /bin/bash --gecos "Deploy User" deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment