Bradley Ayers
Wednesday, May 25, 2011
Creating a separate linux user for each Web site
For added security it's a good idea to run each Web site as a separate user. For this, I use the following command:
sudo adduser --system --no-create-home <username>
You can then instruct
mod_wsgi
to use this user:
WSGIDaemonProcess bradleyayers.com user=<username>
Obviously in both snippets, you replace
<username>
with an actual username.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment