To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / extra / soundsoftware / scripted-deploy / vagrant / provision.d / 020-users.sh @ 1586:d0d59d12db94

History | View | Annotate | Download (121 Bytes)

1
#!/bin/bash
2

    
3
set -e
4

    
5
if ! grep -q '^code:' /etc/passwd ; then
6
    groupadd code
7
    useradd -g code -G www-data code
8
fi
9