Bench install production on current user

I’m using the easy setup script to install bench. i want to install production server but it automatically makes a new user frappe. How can i avoid making a new user?

currently using the following command:

sudo python --production

Hi @Dev_Aggarwal,

It seems that you are running the command from the root user, create new user and run the command


Wait so bench isn’t meant to be installed on the root user?


You need to simply run the above command with additional switch sudo python --production --user <desired_username> and it should proceed to create the user and go ahead without any errors.

Hope this helps you in setting up the production.


I don’t wanna make a new user. I want it on the current user

Even I am stuck on the same one, its not installing for me with new user as well