add user to group - cmd line

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

mvrk
Posts: 15
Joined: Tue Oct 16, 2007 9:45 am

add user to group - cmd line

Postby mvrk » Fri Nov 12, 2010 11:36 am

Hi,

Is it possible to add a user to a group using command line?

polleke
Posts: 80
Joined: Thu Feb 28, 2008 6:09 am
Location: the Netherlands
Contact:

Re: add user to group - cmd line

Postby polleke » Fri Nov 12, 2010 3:10 pm

yes, that is possible..

with omaddpdln

This is what the man page says


EXAMPLES
To add the O/R Address Jay Armstrong/paris,legal,internet to an existing local PDL with an address of Company Lawyers/ny,legal in the system default Direc-
tory, and cross reference it, type:

omaddpdln -l "Company Lawyers/ny,legal"
-n "Jay Armstrong/paris,legal,internet"

If the O/R Address in the example above is a user with internet address support@company.com and the user entry is not in the directory to cross reference,
then type:

omaddpdln -l "Company Lawyers/ny,legal"
-x -n "Jay Armstrong/paris,legal,internet (support@company.com)"




with
omshowpdl -l all


you can find out the names of existing groups
Kind regards,

Paul


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 5 guests