Solved

can not put administrator account in appserveradm group

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
iPhone 5s Went Crazy 23 140
itunes and ipod touch 2 72
Cancelling Pandora on iPhone 8 57
time machine 8 45
Yesterday Apple introduced their revolutionary new iOS 5 operating system that claims to be the ultimate mobile technology interface. One of the biggest innovations of the new operating system is the introduction of the iCloud computing network. Thi…
Information security is a multi-billion dollar industry. Just as lucrative is the black market industry which trades stolen identities, credit card numbers and software exploits all over the world. Nothing is hack-proof. The best one can do is make …
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…

932 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

14 Experts available now in Live!

Get 1:1 Help Now