[SOLVED] Account list

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
klinet
Posts: 19
Joined: Fri Sep 12, 2014 10:38 pm

[SOLVED] Account list

Postby klinet » Thu Jan 24, 2008 10:06 am

I'm looking for a way of creating a list of accounts. I need to have a text file of accounts for use outside of Zimbra. A command line list that I could copy and paste into a text editor would be fine. Does anyone know of a way to generate such a list?
Thanks

Todd


mmorse
Ambassador
Ambassador
Posts: 6036
Joined: Fri Sep 12, 2014 10:24 pm

[SOLVED] Account list

Postby mmorse » Thu Jan 24, 2008 10:11 am

Welcome to the forums,

Sure, this command is handy:

[quote]su - zimbra

zmaccts[/quote]-That will give you a little more data than just the accounts.
You probably want:

[quote]su - zimbra

zmprov gaa[/quote]gaa stands for GetAllAccounts
You could even port that to a txt file:

[quote]su - zimbra

zmprov gaa > /tmp/accoutlist.txt[/quote]These will help you out:

Redirecting standard input and output in Linux

Zmprov (Provisioning) - Zimbra :: Wiki

Zmprov Examples - Zimbra :: Wiki

[url=Bulk Provisioning - Zimbra :: Wiki[/url]
klinet
Posts: 19
Joined: Fri Sep 12, 2014 10:38 pm

[SOLVED] Account list

Postby klinet » Thu Jan 24, 2008 10:17 am

this is perfect!
Thanks
mmorse
Ambassador
Ambassador
Posts: 6036
Joined: Fri Sep 12, 2014 10:24 pm

[SOLVED] Account list

Postby mmorse » Thu Jan 24, 2008 10:22 am

Just to orient you a bit:

http://www.zimbra.com/forums/announcements/12153-dont-forget-update-your-profile.html so we know what set of commands to give you later.

Bugs & RFE's (requests for enhancements) can be filed in Bugzilla & tracked via PMweb.

A good doc on this process is: Open Source Product Management: How do features get into Zimbra?

The Wiki has all sorts of collective knowledge in it :p

(I actually updated my above post with a few links to how zmprov commands work.)

Hope you enjoy Zimbra!

Return to “Administrators”

Who is online

Users browsing this forum: MSN [Bot] and 14 guests