?
Solved

can not put administrator account in appserveradm group

Posted on 2013-05-09
1
Medium Priority
?
566 Views
Last Modified: 2013-09-25
Hello all, i am having a problem putting the administrator account in the appserveradm group to give the write permission to the catalina.out folder. it keeps giving me the message access denied. I have ben looking at some forums on line and trying to get it to work but no success. i have been able to at it to appserveradm GroupMembersip but when it run the command id it tells me that that my groupid is staff. Could someone explain to me how add the administrator to this account that tomcat 7.0.39 is looking for? I am running lion server 10.7 and everytime i try to run usr/Library/Tomcat/bin/startup.sh i get an permission denied message. any help would be helpful. i am trying to steup this server to do casper imaging and i can not get past this step. Thanks.
0
Comment
Question by:PennCharter
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 30

Accepted Solution

by:
serialband earned 1500 total points
ID: 39191326
What have you tried?  Tomcat runs via apache, so maybe you need to add the user or group apache to the group.  Apple uses Directory Server, so you will need to use dscl for some of the permissions.  You can search for "dscl add user to group".

These commands run on the command line.  Some users and groups that are not visible to you in System Preferences--> Users & Groups.  You must use dscl for those accounts.
Display group memberships:
dscl . read /Groups/appserveradmin GroupMembership

Add user:
dscl . append /Groups/appserveradmin GroupMembership apache

Remove user:
dscl . delete /Groups/appserveradmin GroupMembership apache
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Create a default user profile for Mac OS X 10.7/10.8 Create a user account on OS X that will be a template for every other user of that computer. I usually call it “profile” and make it an administrator account for the time being. 1. Install a…
A lot of new and distinct gadgets are making their appearance every other day. The latest gadget that has wooed the attention of all gadget lovers and non gadget lovers alike is the Smartwatch. This tiny gadget is capable of offering live access to …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question