Run the nambulkadd Command

The nambulkadd command is designed to be used with the userlist and grouplist text files created by the Server Consolidation Utility. The command Linux enables multiple users and groups all at the same time.

After your consolidation project has run to completion, follow these steps to run the command and Linux enable your users.

  1. At the OES Linux server, log in as root.

  2. At the shell prompt, enter the following:

    nambulkadd [-a adminFDN] [-w admin_password] [-u /path/userlistfile] [-g /path/grouplistfile]

    Replace adminFDN with the fully distinguished name of the eDirectory administrator, using LDAP syntax.

    Replace admin_password with the password for the eDirectory Admin user.

    Replace /path/userlistfile with the full path and name of the userlist.txt file located in the /usr/novell/sys/scu/lum directory on the Linux server.

    Replace /path/grouplistfile with the full path and name of the grouplist.txt file located in the
    /usr/novell/sys/scu/lum directory on the Linux server.

    If you prefer to not include the eDirectory Admin password in the command, you can set it as an environment variable and omit the -w parameter. To do this, enter the following at the shell prompt:

    export LUM_PWD=AdminPassword

    where AdminPassword is the password of the eDirectory Admin user.

    IMPORTANT:  Be sure to double-check the accuracy of the paths, filenames, and other parameters you specify for this command. If you type a parameter incorrectly, the command simply returns without displaying any errors.

  3. Check the log file /var/log/messages for errors.

Run nambulkadd on one server at a time, and wait until the command completes on one server before running it on the next one.

HINT:  After you have Linux enabled users for one server, you can easily Linux enable them for another server by adding the Linux Enablement Group to the other server's Workstation object in eDirectory using iManager. See the Novell iManager 2.5 Administration Guide for details.


Example

nambulkadd -a cn=admin,o=novell -w novell -u /usr/novell/sys/scu/lum/job1-userlist.txt -g /usr/novell/sys/scu/lum/job1-grouplist.txt

This command Linux enables the Group object listed in job1-grouplist.txt and all the User objects listed in job1-userlist.txt. The users are all made members of the group named server_name-LUMGroup that is created.

To see additional help and usage examples, enter

nambulkadd -h

To check whether a user is Linux (LUM) enabled, enter this command at the shell prompt:

id user_name

If the user has been Linux enabled, the screen displays information such as:

uid=624(User103) gid=607(gd2600-LUMGroup) groups=607(gd2600-LUMGroup)

For more information about the nambulkadd command, see the Novell Linux User Management Technology Guide.