(Answer) (Category) NetMAXFAQ : (Category) Users / Groups :
How can I import users into NetMAX?
Applies to versions L2.2Pv3.x
address-suppressed
Migrate users from another machine to your NetMAX server using migrate.pl.

Log in as root or 'su' to root.

Next, go to the /usr/netmax/bin directory (type: cd /usr/netmax/bin ).

The tool to migrate users is called: migrate.pl

Its usage instructions are as follows:

USAGE: migrate.pl [in|out] [machines|users]

in : migrate data from to NetMAX

out : migrate data from NetMAX to

machines : migrate machine data

users : migrate user data

: full path of input/output file

The most convenient way to use migrate.pl is with an input/output file.

The file formats are specified below.

Migration File Formats

USERS (output file)

For exporting users, the format of each line of the output file is as follows:

login name;description;full name

example :

bumpy;Normal User;Usr Bumpski

lumpy;Local Admin;Max Lumpster

USERS (input file)

For importing users, the format of each line of the input file is as follows:

login name;group;real name;;password

example :

bumpy;Everyone;John Bumpski;;OpenUp

lumpy;Everyone;Max Lumpster;;new_pass

MACHINES (input/output file)

For importing and exporting machines, the format of each line of the input/output file is as follows:

machine name;description;MAC address;list of aliases;list of IP addresses;list of alernate mail hosts:priority;email address of responsible person;machine type;allow NetMAX access;allow internet access

(fields that consist of lists are semicolon seperated)

example of all fields:

netmax.cybernet.com;Cool

Server;00:66:88:3e:19:d5;bart,homer;192.245.34.1,192.245.34.2;mail.host.com:0,alt.mail.net:1;admin@cybernet.com;Computer;no;no

example of only the required fields:

netmax.cybernet.com;;;;192.245.34.1;;;Computer;yes;yes
address-suppressed
Previous: (Answer) I manage my users from the console, why am I unable to change a password?
Next: (Answer) How can I use a secondary volume for my user's home directories?
This document is: http://www.netmax.org/cgi-bin/fom.cgi?file=436
[Search] [Appearance]
This is a Faq-O-Matic 2.721.
This FAQ administered by ...Cybernet Systems Corp.