omaddu permissions.

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

msweany
Posts: 22
Joined: Wed Jul 12, 2006 10:29 am

omaddu permissions.

Postby msweany » Mon Jul 24, 2006 12:23 pm

Hi there, I am working on a php page that I will be able to use to add and remove users vi omaddu and omdelu.

My question is this, do I need to set permissions on anything other then the omaddu for apache to execute it?

I dont really want to put apache in the Scalix group because I want to control what I give it access to.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Jul 24, 2006 1:06 pm

Is there a reason why you don't want to use the Admin Console ?

Cheers

Dave

msweany
Posts: 22
Joined: Wed Jul 12, 2006 10:29 am

Postby msweany » Mon Jul 24, 2006 1:13 pm

Hi Dave,

I normally use the admin console, but I am looking into building a php/mysql based app that will allow me to give control to a user to manage users for a domain on my sqcalix server.

For instance, I have domains A,B and C sending and receiving mail on my scalix server, I will control domains A and B, but C is my dad's business domain. Rather then have him call me to add remove users, I thought it would be nice to provide him with a secure login to a page that he can manage the users himself.

The only holdup I have at this point is the actual creation of users from apache.

I have the syntax correct in omaddu (I have tested from a root account), I can tell that the correct command is being sent, but nothing happens. I have made sure to do everything usually needed in /etc/sudoers to allow this one script to be run, but it appears I need to be added elsewhere..

Any help would be much appriciated.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Tue Jul 25, 2006 3:40 am

Maybe a LDAP solution will work as well/better for you?

You can write a PHP frontend to put entries into a OpenLDAP tree, and set up Scalix to synchronise off of that. That way Apache only needs to be able to access the LDAP tree (which you can control) and the changes will still go to Scalix.

msweany
Posts: 22
Joined: Wed Jul 12, 2006 10:29 am

Postby msweany » Tue Jul 25, 2006 8:43 am

Thanks Valerion, I will look into that. That sounds like a good idea.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest