Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (8 sloc) 0.282 kB
dep 'www user and group' do
www_name = Babushka::Base.host.osx? ? '_www' : 'www'
met? { grep(/^#{www_name}\:/, '/etc/passwd') and grep(/^#{www_name}\:/, '/etc/group') }
meet {
sudo "groupadd #{www_name}"
sudo "useradd -g #{www_name} #{www_name} -s /bin/false"
}
end
Jump to Line
Something went wrong with that request. Please try again.