How to Import User Mappings From a Rule-Mapping File

  1. Become an administrator.
  2. Import the user mappings from standard input or from a file.
    $ idmap import [-F] [-f file] format

    In the following example, a file called myusermaps uses the usermap.cfg format to specify the following user name mappings:

    $ cat myusermaps == user3 => user3

    You would use one of the following commands to add these mappings to the database:

    $ cat myusermaps | idmap import usermap.cfg
    $ idmap import -f myusermaps usermap.cfg