how to get list of groups via command line

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

how to get list of groups via command line

Postby les » Tue Mar 27, 2007 9:40 am

Whilst in the throws of a major rebuild and reinstall (full use of sxmboxexp and sxmboximp) due to a probelm i've already logged on the forums, i forgot to note down the groups that had been created via sac.

i've got all the user info thanks to omshowu etc.

I dont know of an equivalent command to show a list of groups. is there one? or is there an "access" style db somewhere in the scalix directories?
Regards,

Les Stott

jeffs
Posts: 30
Joined: Thu Mar 08, 2007 5:37 pm
Location: Cincinnati, OH

Postby jeffs » Tue Mar 27, 2007 10:12 am

Hi Les -

omshowpdl -l all should just dump the list of groups - is that what you need?

Jeff

KevinAnderson

Postby KevinAnderson » Tue Mar 27, 2007 11:54 am

I'd advise also running omsearch -s and dumping the output to a file. This will give you a copy of everyone's alias and other information.

Kev.

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Tue Mar 27, 2007 12:06 pm

KevinAnderson wrote:I'd advise also running omsearch -s and dumping the output to a file. This will give you a copy of everyone's alias and other information.

Kev.


Thanks Kev, omsearch does the trick, outputs a bit messy though.....anyone know of any other ways that are a bit cleaner?
I haven't got time now but i guess i could do a more specific omsearch...

omshowpdl only lists the pdl's and optionally the internet address for that pdl. It wont show you the members belonging to the pdl.

p.s. on another note....

is there a utility/command to save user created rules? they must live in files on the server somewhere, can they be exported/imported/retrieved easily?

TIA
Regards,

Les Stott

KevinAnderson

Postby KevinAnderson » Tue Mar 27, 2007 12:39 pm

I believe you can add users/groups based on the line of output from omsearch with the addu or addpdln commands.

That might help.

Kev.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 18 guests