Last active
August 29, 2015 14:21
-
-
Save devinceble/e83c056d0969c64574f4 to your computer and use it in GitHub Desktop.
Adding User on Docker Container
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
apt-get -y install python-software-properties | |
apt-get -y install software-properties-common |
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
adduser --disabled-password --gecos '' __username__ | |
adduser __username__ sudo | |
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment