Solved

can not put administrator account in appserveradm group

Posted on 2013-05-09
1
527 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
1 Comment
 
LVL 28

Accepted Solution

by:
serialband earned 500 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mac Time Machine: Does my disk store password in Key Chain or have no password? 6 60
InTunes and IOS issue 5 175
Recording my desktop on a Mac 3 71
icloud backup 5 20
Apple's Mac OS X has become an official member of the malware club. The Flashback Trojan has affected over half million Macs, worldwide. It is behavior that ultimately gets malware onto a person’s computer. Obsolete or out-of-date software helps…
A common question or need, when setting-up a new Mac for someone would be to make all of the applications, installed, available from the dock. Many people often do not realize an application is installed unless it is in the dock. Creating a custo…
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
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…

778 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