CF10 Enterprise, multi-instance w/different user accounts

Running CF10-Enterprise, 10,0,9,284568 with Update 9.  This is running under JDK 1.7.0_21, and is fronted by Apache 2.2.x and all runs under RHEL6.x.  It seems to work fine
In short - is it possible to create a new instance, and have that new instance run as a different user than the "main" instance?  If so, what trouble does it cause?
In more detail...
The main reason we'd like to have a separate Instance is for "complete" isolation, to prevent one CF process or instance from affecting another, vs having one CF instance and just a lot of websites under it.  Service isolation is a policy.
I spin up a new Instance (CF Admin -> Enterprise Manager -> Instance Manager), and start it.  It runs as the user "cfusion", which is the same user that the main instance runs as.  I'd prefer it to run as another user, namely the user that owns the site this instance is  for.  So if I have site www.site1.com owned by user site1, I'd like the CF java process to run as user site1 as well, and not the cfusion user.
In the past, this "complete" isolation was managed by deploying CF9 as a WAR file and running it under Tomcat.  Each website had its own user in /etc/passwd, and that was the user the CF-under-Tomcat process ran as, the files were owned by that user, etc.  But CF10 (currently at least) doesn't support being run as a WAR file under Tomcat.
The files in /opt/coldfusion10/ are owned by the user cfusion.  An instance I created is in /opt/coldfusion10/testsite/.  Could I chown -R testsite:testsite /opt/coldfusion10/testsite/ (user named same as instance name)?  And the run /opt/coldfusion10/testsite/bin/coldfusion start, as the user testsite?
I'd lose the ability to easily manage this instance from the main CF Administrator site, such as Updates.  Under CF9, the update process sucked and was manual and I had to do it for each site anyway (sigh.)  But CF10 has a nice(r) update method, and I'd lose that.  But if that's the only thing I lose, and I have to manually update each instance, I guess I can live with that (no different than what I'm doing now, still easier though under CF10.)
I suspect this is just simple lack-of-knowledge on my part (as are many things in my life.)
Thank you,
PH

Sorry, no.  I haven't found a way to do this, if I want to manage it all from the primary CF instance.  I can, of course, manipulate each instance independently.  But that does rather defeat the purpose of having multiple instances via the Instance Manager.
I haven't looked in to it much more.  I could probably hack together a combination of password-less sudo and editing of the coldfusion start/stop scripts.  But I don't think that level of editing would be a good idea, not to mention if there ever is a CF update that might specifically rely on unaltered scripts.
PH

Similar Messages

  • Share music on same mac with different user accounts

    I'll try to make this clear, i have an imac with a large itunes collection. my two kids have accounts on that same mac, and want to be able to listen to what i have in my itunes. i can't see putting three copies of the same music on the same computer. is there a way to let them play what i have in my itunes account while they are logged in to their own account on the same computer?
    imac (5 years old)   Mac OS X (10.4.6)   macbook, G4 I book, I book, Imac
    macbook w/ superdrive, G4 with combo drive, I-book w/o cd burner   Mac OS X (10.4.6)   macbook, G4 I book, I book, Imac

    Jase, you said "Music sharing works across different user accounts, whether they are on the same computer or different computers", but my son will log into his account where he currently has no music. in the window on the left, we can see the other computers in the house that are on line, but there is no sign of the master account (on that same imac). i assume this is because the master account is not logged in, therefore the secondary accounts can't find the master account's music, nor can I from a remote computer ( my macbook, for example). for instance, right now from my macbook i can see my son's itunes list (on the imac) in my "share window" (even though his list is empty). he can also see my macbooks list in his "share window". he cannot see either my list on that imac, or his sisters list on that same imac. all acounts on the imac have sharing turned on, as well as "look for shared music" turned on.
    i guess the focus is on this: can the master user itunes list be made available to other users on that same computer while they are logged in as other users (and the master account is logged off, which it has to be in order for the secondary accounts to be logged in, right?) I can't think of any other way to ask this, so i hope that clarified what we have tried and what we are asking for.

  • Using same Aperture 3 library with different user accounts. Suggestions?

    My wife and I share the same iMac but use different user accounts. Currently, I have our photos and Aperture library on a second partition with no ownership, allowing us both to access the library and edit, reorganize, etc (I know we need to be careful not to make changes "simultaneously," so we simply shut one instance down before switching user accounts). The trick is quickly becoming the organizational scheme. My wife thinks (and I agree) that Aperture will be able to free us from having to "give in" to the other's way of thinking when it comes to grouping pictures in projects, etc. The only trick is, we can't figure out how to do it. My initial thought is to figure if one photo can exist in two different projects and then just have "hers" and "his" folders. The other thought would be to create two different libraries, but then I'm not sure how we would keep the two libraries "current" if one uploaded photos and didn't tell the other.
    So, those are my two thoughts, but I'm sure there are others. I'm open to any and all suggestions.

    1 Quit iTunes.
    2 Drag your entire *iTunes folder* from /Username/Music to /Users/Shared.
    3 Log out.
    1 Log in on your other account(s).
    2 Start iTunes and immediately press an hold the Option key.
    3 iTunes will ask to *Create new library* or *Choose existing library*. Select *Choose existing library*.
    4 Select the *iTunes library file* in the *iTunes folder* in /Users/Shared.
    5 Now go to File -> *Add to library* and select the *iTunes music folder* located in /Username/Music.
    6 - iTunes will add all the music in from this account to the main iTunes music folder/library.
    7 Delete the *iTunes folder* in /Username/Music
    8 Restart iTunes normally (don't hold Option). Everything should be there.
    9 Quit iTunes and log out of the account.
    10 Do the above steps for all users. Don't do the first 1-3 steps. Start at the second series.
    Log into your account, start iTunes normally and all music should be there.
    Whenever any of you do anything in iTunes, it will be seen by all since you are using one and the same iTunes library file.
    Create a "main" playlist for each user with their own music. Create a smart playlist and set it to Playlist is not the playlist you created above. Select this and it will show you everything NOT in your playlist. Do the same for the others. This will help when adding only the music you want your own playlist.
    Note that iTunes can only be opened by one user at a time. If you have Fast user switching enabled, the other users must quit iTunes in order for anyone else to use it.

  • Messages on the mac, different user accounts

    If you sign into messages on your own password protected user account on a shared mac with different user accounts, will other user accounts be able to access your messages from their account?

    Hi,
    This is really a yes, no, maybe answer.
    If you set up new Mac user accounts on your Mac and never use any of the details that you use in Messages (any account) then, No.
    If however you set up a Mac User account to test and entered the AIM Screen name you use then the Keychain and the .plists may remember some of that account details.
    This could be a problem if you then let someone use that Mac User account.
    There are ways to get the password info in the Keychain.
    To explain  a bit more of the how.
    If for instance you created a test Mac User account and set up Messages here.
    You could then turn On Parental Controls if it is not an Admin account
    If you set the Messages settings then you can not add Buddies to the lists
    You cannot chat to Buddies unless they have been added to a list in Parental Controls.
    At thie point all your Buddies are Blocked.
    Going back to your regular account will find they are blocked there as this function flags the Buddies at the Server end.
    If you then add some Buddies but not all then in the AIM Account they become the Allow Specific People list and everyone not in the list is Blocked.
    The Allow/block situation remains the same  (even if you move computers or try a web login to AIM)
    The same regarding using  the same Apple ID in this Mac User account as it's details are held in the .plist
    Also if you had an older Apple ID that you then registered for iCloud and received an @me.com email ID in addition and later an @iCloud.com one you can use these Apple IDs independently of each other with regards to iMessages.
    However the server will keep trying to add these to your iMessages account in Messages.
    I have not tried creating a separate iMessages account and testing this yet to see if the main Apple ID would try to get added to the other set ups
    Basically the answer is no.
    However be careful if any of these Mac Users Accounts  were set up before and have tested anything you use in your Messages app.
    9:35 pm      Friday; December 6, 2013
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Multiple iTunes 8 for 2 different user accounts on one Mac: Possible?

    Hi,
    My MacPro has 2 different user accounts on it. Mine and my wife's. I have all of the iTunes music, pod-casts and iPhone Apps set up in iTunes 8 on my user account. The problem is that I want to be able to sync our iPhone 3G which she uses in HER account so that I can sync and save her 3G address Books contacts and calendar events.
    I just updated my iPhone's firmware from V2.0 to V2.1 and I backed the phone up in iTunes 8 first. Much to my surprise ALL contact and calendar data was LOST. Am I correct in thinking that the only way of preventing this is by also having this data on my MacPro's iCal and Address Book?
    We only use this single iPhone.

    See if this support article provides what you need: iTunes: How to share music between different accounts on a single computer, http://support.apple.com/kb/HT1203

  • Sharing itunes with different user accounts

    I just got Windows Vista. I have the latest version of Itunes. I'm trying to set it up so that my wife and I can share songs with different user accounts in Windows. I followed all the instructions. I moved the iTunes music folder to a public folder. But everytime I log off my account and return, itunes can't find the song files. Any suggestions?

    They can be transferred to another iTunes library but not another iTunes account.
    Just copy them.

  • Adding music to iTunes from a different user account on the same computer

    I have recently begun using a PowerMacG5 at my college and I imported some music, all from CDs into iTunes under my user account. Then I discovered that this Mac already had music in a different location under a different user account. How do I merge these two libraries together so that both have the same music, same library? Or is that impossible?

    hi Zags!
    this document should be helpful:
    iTunes: How to share music between different accounts on a single computer
    love, b

  • Sharing libraries between different user accounts on same Mac

    I am having difficulty sharing the same library between two different user accounts. I thought it would be simple matter of allowing the second user account access to the itunes folder in the first user's home folder and then changing location of second user's library in Advanced menu of second user's iTunes. However, second user iTunes still acts as though it is pointed at its default library. Can anyone help me here?

    thanks, zevoneer. apparently, I gave up too early in my own search. I'm trying it now - the copy process is taking some time. Well, I had hoped to narrow the access down to only one other account but at least this should provide the access that is needed.

  • How do I share photos and music between different user accounts on the same macbook

    How do I share photos and music between different user accounts on the same Macbook? i.e. I want all to be able to access family photos when logged into their respective accounts. Same goes for the iTunes library. Hope this is possible...
    Thanks!

    To give other users read-only access to your iTunes library, use the Sharing features of iTunes. Sharing works over the local network as well as on the same computer. See the built-in help for details.
    To give others selective access to your iPhoto library, you have the option of using iCloud Photo Sharing, if the privacy implications don't bother you. The images will be stored temporarily on Apple servers.
    If you want to give full read/write access to more than one user, see the support articles linked below.
    iTunes: How to share music between different accounts on a single computer
    iPhoto: Sharing libraries among multiple users
    There is a way to share the library without moving it to a secondary volume. If you really need to do that, ask for instructions.

  • Can the SidHistory attribute be moved from one User account to a different User account in the same Forest/Domain?

    Hello,
    Can the SidHistory attribute be moved from one User account to a different User account in the same Forest/Domain manually with  Active Directory Users and Computers or with something like Powershell?  it would seem to me this is a safe operation.
    Thanks for your help! SdeDot

    Hi,
    In addition, please also take a look at the below thread:
    copy SIDHistory from one account to another in the same domain
    http://social.technet.microsoft.com/Forums/en-US/2ca8727c-b3fd-4ef8-9747-99295f0cd61c/copy-sidhistory-from-one-account-to-another-in-the-same-domain?forum=winserverDS
    Hope this helps
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • HT3819 How to use homesharing between different user accounts on the same iMac?

    I find plenty of articles about homesharing on iTunes between computers, but not between two different user accounts on the same iMac.  Any advice or direction to an existing artical is greatly appreciated.  I'm knew to the Mac and still have Windows on the brain.
    I am trying to share iTunes music and movie purchases between my user login and my wife's.
    Thanks

    Hello careymp1017,
    This can be achieved, but will not utilize HomeSharing. Further information and steps can be found in the following article.
    iTunes: How to share music between different accounts on a single computer
    http://support.apple.com/kb/HT1203
    Cheers,
    Allen

  • How do I sync iTunes music to two different iPhones on two different user accounts?

    I have read some posts and a help article about this, but I need some clarification becuause what I'm doing is not working out correctly.  My wife syncs her iPhone and iPod to her iTunes.  I recently purchased an iPhone and am going to sync it to my own iTunes on a different user account on the computer.  How can I get the music from her iTunes account to sync with my iTunes/iPhone?  Whenever I try various routes, I end up with duplicated songs on my end and I'm not sure how it works when she adds music to her account.  My wife does all the music purchasing for the both of us and I want the music to sync both ways, but all other content needs to stay separate.  We are running iTunes 11 on Windows 7.  Any help would be appriciate and I'm sorry if this is a redundent question.  Thanks.

    I followed the following articles: http://support.apple.com/kb/HT1495 and http://support.apple.com/kb/HT1203
    Here are the questions I have regarding the second article which is not clear to me:
    When dragging the media file to a public location, the article says not to move the iTunes folder.  Is it Ok that the media file is moved out of the iTunes folder when dragging it to the public location?  Is this what I am trying to accomplish?
    There is a note about how iTunes for Windows does not, by default, copy items added to the library to the media folder.  Am I supposed to check the box to allow this?  Do I do the same for all users?
    When I change the music folder location, am I changing it to the new public location?  Do I do this for all users on the computer that wants to use the same music files?
    I tried changing the file location to the public folder, but received a message asking something to the effect of renaming files to keep the library organized.  Do I want this or not?
    There is another note at the end that says if all users are storing their music in the same public location, then duplicates may appear in the library.  Isn't what this procedure is basically doing?  Can someone clarify this?
    After following this article to the best of my ability, my iTunes ended up with duplicates of everything, even starting off with nothing there to begin with.

  • Help using file sharing with different users accounts on same Macbook

    Hi, I just wanted a little help using the file sharing option. My wife and I had different users accounts on the same MacBook, but when I am trying to share my baby's picture from my documents folder for my wife to have the same picture, I can't find the way to do that; I am not been able to find my pictures on my wife's account. Is there any way that I could share a folder from my account and my wife to have the same files at the same time on her account?
    I mean, something like the smart play list on the itunes?
    Thank you

    You can't do that directly unless you change permissions on your whole Documents folder which is not a good idea. Your wife can see your Documents folder from her account by going to Users/yourusername/Documents. However, this folder has no read privileges for others except yourself by default so she won't be able to open it.
    rather than changing permissions on your Documents folder, you can place the pictures you want to share in Public folder in your home directory or in Users/Shared folder.

  • Please help. Error message "Document is licensed for a different user account"

    I purchased a ebook on B and N and saved to my PC. I added this ebook to the library in Adobe Digital Editions and it is displayes. Whena I click on it to open I receive the error message"Document is licensed for a different user account". Please let me know what to do?
    Thank you.

    Hi,
    In order to fix this you need to contact B&N support and ask them to reset download link of the books and then download same book once again.
    Regards
    Rizwan.

  • DSC powershell xwindowsprocess to execute batch file under different user account

    DSC powershell run under "NT AUTHORITY\SYSTEM".
    I am trying to execute a batch file under different user account using xwindowsprocess in DSC resource kit.
    I created a custom dsc resource with 3 parameters namely Exepath, Arguments, Credential.
    I received those parameter values in settargetresource method.
    CallPInvoke
    [Source.NativeMethods]::CreateProcessAsUser(("$ExePath "+$Arguments), $Credential.GetNetworkCredential().Domain, $Credential.GetNetworkCredential().UserName, $Credential.GetNetworkCredential().Password)
    I tested it by invoking a batch file and writing username under which it executes to a text file.
    After executing, the output text file still contains the "Systemname$".

    Configuration Sample_xService_ServiceWithCredential
    param
    [string[]]
    $nodeName = 'localhost',
    [System.String]
    $Name,
    [System.String]
    [ValidateSet("Automatic", "Manual", "Disabled")]
    $StartupType="Automatic",
    [System.String]
    [ValidateSet("LocalSystem", "LocalService", "NetworkService")]
    $BuiltInAccount="LocalSystem",
    [System.Management.Automation.PSCredential]
    $Credential,
    [System.String]
    [ValidateSet("Running", "Stopped")]
    $State="Running",
    [System.String]
    [ValidateSet("Present", "Absent")]
    $Ensure="Present",
    [System.String]
    $Path,
    [System.String]
    $DisplayName,
    [System.String]
    $Description,
    [System.String[]]
    $Dependencies
    Import-DscResource -Name MSFT_xServiceResource -ModuleName xPSDesiredStateConfiguration
    Node $nodeName
    xService service
    Name = $Name
    DisplayName = $DisplayName
    Ensure = $Ensure
    Path = $Path
    StartupType = $StartupType
    Credential = $credential
    $Config = @{
    Allnodes = @(
    Nodename = "localhost"
    PSDSCAllowPlainTextPassword = $true
    #Sample Scenarios
    $credential = Get-Credential
    Sample_xService_ServiceWithCredential -ConfigurationData $Config -Name "Sample Service" -DisplayName "Sample Display Name" -Ensure "Present" -Path "C:\DSC\TestService.exe" -StartupType Automatic -Credential $credential
    ¯\_(ツ)_/¯

Maybe you are looking for

  • Attachment to the Service Entry Sheet

    Hi experts, Is there any procedure to attach any required document (scanned copy / word / excel sheet etc) to the Service Entry Sheet. Please help. Mohan

  • Checksum error for Hidden and Protected item ID

    Hi, I created an icon which is called 'Find an employee'. When a clicked on that icon, it shows employee id and employee name. And near these names there is a select button. But, it gives the following error: Checksum error for Hidden and Protected i

  • MSI MBOX K8MM-V BIOS/Boot problem

    I recently put together this barbones system. 3000 for my daughter Semperon 80g hd 2nd 40g hd 1g both ide 1 dvd-rom 1 CDRW- DVD ddr 400 winxp pro loaded fine sees everhting. At boot I get standard press F11 to set boot sequence which I did set to mai

  • Host time

    Hello all, What�s the approach you recommend to ajust the time by some factor? The scenario is this: I�m Brazilian but the host is north-american (California), hence there�s difference between the times of both places. Then, I�d like someway incremen

  • J2EE Pattern  ...PLZ

    Hi Using IN DAO PATTERN, using Datasource Object should Is it necesary to i create Connectionn pool or not in case of EJB. with regards Karthik