PreviousNext

passwd_export(8sec)

Creates local password and group files

Synopsis

passwd_export [-d dir_name] [-m max_entries]
[-h[elp]] [-n] [-s] [-v] [-x]

Options

-d dir_name
The name of the directory to store the password, group, and organization files created by passwd_export. If you do not enter a directory name, the files are stored in the /etc directory.

-h[elp]
Display help information.

-n
Ignore passwd_override and group_override file entries. Without this option, passwd_export applies the override entries from both files to the local password and group files it creates.

-m max_entries
The maximum number of entries that can be stored in the local files.

-s
Sort the local password and group file entries by UNIX number. If you do not specify this option, the entries are in order as they are retrieved from the registry.

-v
Run in verbose mode.

-x
Omits users and groups with the specified passwd OMIT in their passwd_override(5sec) and group_override(5sec) file entries from the local password and group files created. Consult the passwd_override(5sec) and group_override(5sec) reference pages for further information.

Description

The dceshared/bin/passwd_export command creates local password and group files from registry data. These files are used when the network registry is unavailable and by programs that use the original UNIX passwd and group interfaces instead of the DCE interfaces. Use passwd_export to keep these local files consistent with the registry database.

If you do not specify the -n option, passwd_export reads override entries in the passwd_override and group_override files and modifies accordingly the local and group files it creates. See the passwd_override(5sec) and group_override(5sec) reference pages for further information.

When passwd_export runs, it makes backup copies of the current password and group files, if they exist. The files are named, respectively, passwd.bak and group.bak.

By default, the backups are stored and the new files created in the /etc directory. You can override the default by supplying a directory name with the -d option.

Running passwd_export
The passwd_export command is commonly run with an entry in /usr/lib/crontab. For example, to update the files every hour, the entry is

0 * * * * dceshared/bin/passwd_export

In large network environments, it is a good idea to stagger the times passwd_export is run.

Related Information
Commands: rgy_edit(8sec)

Files:

passwd_override(5sec)

group_override(5sec)