// puts apache into the users group to allow dev teams etc..
sed -i 's/users:x:1000:admin/users:x:1000:admin,wwwrun/' /etc/group
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
You need to create an account or log in to post comments to this site.
» Suexec'ed PHP-FastCGI on Apa... in apache php fastcgi suexec
» Mixed example of mod_deflate... in apache mod_deflate httpd.conf
» Serve XHTML 1.1 Properly in apache httpd.conf xhtml
» Pretty PS1 Prompt for Bash in shell bash bashrc prompt
» Bash function to copy SSH DS... in ssh shell zsh bash
» How to flush the local DNS c... in lighttpd virtualhosting shell bash hosts dns cache
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails