Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mkusers(8) [debian man page]

MKUSERS(8)						      System Manager's Manual							MKUSERS(8)

NAME
MkUsers - Batch creating multiple XMail accounts SYNOPSIS
MkUsers [options] DESCRIPTION
This command line utility enable You to create user accounts structure by giving it a formatted list of users parameters or a formatted text file. This utility can be also used to create a random number users, that is useful for me for testing the server performance. OPTIONS
-a numusers Number of users to create in auto-mode. -d domain Domain name in auto-mode. -f inputFile Input file name {stdin}. -u username Radix user name in auto-mode. -r rootdir Mail root path {./}. -s mboxsize Mailbox maximum size {10000}. -i useridbase Base user id {1}. -m Create Maildir boxes. -h show help message. USAGE
Input file format is domain;username;password;real-name;homepage[NEWLINE] where a character # as the very first one in a line is used to comment the entire line. If a file mailusers.tab already exist in mail root path MkUsers exit without overwriting the existing copy. This protect You by accidental overwriting of Your file when playing inside the real MAIL_ROOT directory. So if You want to setup the root directory ( -r ... ) as MAIL_ROOT You must delete by hand the existing file. If You setup the root directory ( -r ... ) as MAIL_ROOT You MUST have XMail stopped before running MkUsers. Existing files and directories will be not overwrited by MkUsers so You can keep Your users db into the formatted text file ( or generate it by a database dump for example ) and run MkUsers to create the structure. Remeber that You've to add new domains in domains.tab file by hand. NOTES
MkUsers is intended as a bulk-mode utility, not to create single users coz for this need CtrlClnt ( or other GUI/Web configuration utili- ties ) is better suited. SEE ALSO
CtrlClnt(1), XMail(8). AUTHOR
XMail program was written by Davide Libenzi <davidel@xmailserver.org>. This manual page was written by Radim Kolar <hsn@cybermail.net>, for the Debian GNU/Linux system (but may be used by others). March 12, 2002 MKUSERS(8)

Check Out this Related Man Page

eurephiadm users(7)													       eurephiadm users(7)

NAME
eurephiadm-users - User management module SYNOPSIS
eurephiadm users --list|-l [-S|--sort <sort keys>] eurephiadm users --show|-s [-i|--uid <user id>] [-u|--username <user name>] [-l|-|-lastlog] [-L|--lastlog-details] [-a|--attempts] [-b|--blacklist] eurephiadm users --activate|-a [-i|--uid <user id>] [-u|--username <user name>] eurephiadm users --deactivate|-d [-i|--uid <user id>] [-u|--username <user name>] eurephiadm users --add|-A [-u|--username <user name>] [-P|--password <plain text password>] [-C|--certid <certificate ID>] [-D|--digest <certificate SHA1 digest>] [-c|--certfile <certificate file>] [-2|--pkcs12] eurephiadm users --delete|-D [-i|--uid <user id>] [-u|--username <user name>] eurephiadm users --password|-p [-i|--uid <user id>] [-u|--username <user name>] eurephiadm users [-h|--help [<mode>]] DESCRIPTION
eurephiadm users manages eurephia user accounts. It provides an interface for listing, creating new, modify and delete user accounts. MODES
Available modes: -l | --list [-S|--sort <sort keys>] List all user accounts. Providing -S|--sort and a sort key will define the sort order of the list. Valid sort keys are: uid - user ID username - User name belonging to the user account activated - When the user account was activated deactivated - When the user account was deactivated lastaccess - When the user account was last used -s | --show [-i|--uid <user id>] [-u|--username <user name>] [-l|--lastlog] [-L|--lastlog-details] [-a|--attempts] [-b|--blacklist] Show user account details. --uid or --username are required. The other arguments only defined which kind of information to show. -a | --activate [-i|--uid <user id>] [-u|--username <user name>] Activate a user account. --uid or --username is required. -d | --deactivate [-i|--uid <user id>] [-u|--username <user name>] Deactivate a user account. --uid or --username is required. -A | --add [-u|--username <user name>] [-P|--password <plain text password>] [-C|--certid <certificate ID>] [-D|--digest <certificate SHA1 digest>] [-c|--certfile <certificate file>] [-2|--pkcs12] Add a new user account. --username is required. If you want to assign a password for the new user account via the command line, provide the password with --password. To associate this user account against an already regstistered certificate, it can be done by either refering to the certificate ID in eurephia using --certid or providing the certificate SHA1 digest/fingerprint to --digest. A brand new certificate can be registered and linked to the user account directly if you have access to the certificate file. The file can be in either PEM/DER format or PKCS#12. Use --certfile to indicate the certificate file to extract the information from and --pkcs12 if it is a PKCS#12 file. -D | --delete [-i|--uid <user id>] [-u|--username <user name>] Delete a user account. --uid or --username is required. -p | --password [-i|--uid <user id>] [-u|--username <user name>] Change password on a user account. --uid or --username is required. -h | --help [<mode>] Show a help screen. Without any arguments, all modes are listed. Providing a mode will show more information about the chosen mode. SEE ALSO
eurephiadm(7), eurephiadm-certs(7) AUTHOR
Copyright (C) 2008-2010 David Sommerseth <dazo@users.sourceforge.net> David Sommerseth July 2010 eurephiadm users(7)
Man Page