Solved

can not put administrator account in appserveradm group

Posted on 2013-05-09
1
516 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 27

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Hi Folks, This article is intended to throw some light or basically give an idea towards taking the first step in the world of Systems Administration. This would in the real context of the word "Systems Administration" which would mean right from…
Package creation on OS X uses the PackageMaker utility installed as part of the XCode development suite ( on the OSX Client CD).  Packages can be installed as part of the machine build process, or later using Apple Remote Desktop. They are generally…
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 > …
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now