Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running ColdFusion as a specific user

Tags:

coldfusion

On this page, it talks about Windows NT, 2000, XP and 2003. Fortunately, I have a Windows 7 machine.

The very first line says:

In User Manager for Domains, create a local user for the ColdFusion service to log in as.

I don't see a "User Manager for Domains", so do they mean just "Add a new user"?

If it DOES mean that, can I use my own user account as the ColdFusion user, or should I specifically create a new account just for ColdFusion?

like image 484
Phillip Senn Avatar asked Jul 05 '12 20:07

Phillip Senn


2 Answers

If you are creating a domain account it has to be created ON the domain - using user manager for domains connected to your domain controllers. If that's what you need then a sys admin has to help.

If you are doing a "local" user on a windows 7 I always end up hunting around for the right view of user manager before I get it right :) Here are the steps that I use:

  1. Search from start and open the "user accounts" cpl.
  2. Click on "Manage User Accounts"
  3. Click on the "advanced" tab
  4. Click on the "advanced" buttton.

This takes me to the mmc-like view of users that I'm accustomed to where I can add a user, change membership, set passwords etc.

Hope this helps :)

like image 88
Mark A Kruger Avatar answered Oct 16 '22 00:10

Mark A Kruger


You can use your own username or you can create one for CF to run as. Creating a user to run CF as probably more closely replicates your production environment ( an assumption ) so if production for example writes to a UNC path the coldfusion user must have acces. You could Mimic this locally.

like image 41
Paul Avatar answered Oct 15 '22 23:10

Paul