[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

can not put administrator account in appserveradm group

Posted on 2013-05-09
1
Medium Priority
?
585 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 31

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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

Steve Jobs once said that Blu-ray is "a bag of hurt". As Macs users well known, things haven’t settled down (at least not from Apple’s perspective). Several years after that comment, Mac OS X still doesn’t support Blu-ray playback, nor has any Mac s…
This is a tech scam I recently helped my parents through.
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…
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…

872 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