# Stash Latest (2.9) : Running Stash with a dedicated user

Added by pwatson , edited by pwatson on Nov 08, 2013

For production installations, we recommend that you create a new dedicated user that will run Stash on your system. This user:

- Should be local.
- Should not have admin privileges.
- Should be a non-privileged user with read, write and execute access on the Stash install directory and home directory.
- Should only have read access to your repositories.

See also Running Stash as a Windows service and Running Stash as a Linux service.

For Linux, here is an example of how to create a dedicated user to run Stash:

    $ sudo /usr/sbin/useradd --create-home --home-dir /usr/local/Stash --shell /bin/bash Stash