Book Image

Webmin Administrator's Cookbook

By : Michal Karzynski
Book Image

Webmin Administrator's Cookbook

By: Michal Karzynski

Overview of this book

Table of Contents (19 chapters)
Webmin Administrator's Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Exporting users and importing them into another system


When you're setting up another server for your organization, you may need to recreate accounts of multiple users on the new system. Webmin's user management module has the ability to export data about existing user accounts to a special batch file, which you can then import into any other system that also runs Webmin. This allows you to recreate multiple accounts quickly and easily.

How to do it...

In this recipe, we will export selected users from one system (source) and import them into a second system (destination).

Let's start by exporting users as follows:

  1. On your source system, navigate to System | Users and Groups, and click the link marked Export to batch file.

  2. Set Batch file format to Standard passwd and shadow files.

    Tip

    Note that you should use an export format compatible with the destination operating system. Use the Standard format if you're exporting to Linux, but use the BSD, Mac OS, or AIX specific formats if you're exporting...