Page 1 of 1

add user to group - cmd line

Posted: Fri Nov 12, 2010 11:36 am
by mvrk
Hi,

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

Re: add user to group - cmd line

Posted: Fri Nov 12, 2010 3:10 pm
by polleke
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