OSF DCE Administration Guide--Core Components

OSF DCE Administration Guide—Core Components
Some of the dcecp commands can act only on the master replica and thus require
binding to the master. If you execute a command that acts only on the master and the
master is not the default replica, dcecp automatically attempts to bind to the master
replica in the current default cell. If this attempt is successful, dcecp displays a warning
message, informing you that the default replica has been changed to the master registry.
The master registry will then remain the default replica until you change it. If the
attempt to bind is not successful, dcecp displays an error message, and the command
fails.
36.7 Ensuring Consistent Local Files
The passwd_export command makes the standard /etc/passwd and /etc/group files on
the local machine consistent with the registry database. Run the passwd_export
command on a regular, but staggered, basis preferably as part of cron processing. If
passwd_export succeeds in creating the new password and group files, it saves the
current files as backups that are named passwd.bak and group.bak. If it fails, it leaves
the current files as is.
The passwd_export command has the following syntax:
passwd_export [-n ][ -d directory_name][-x][-m max_entries][-s ]|[-h [ elp ][-v ]
where:
-n Specifies that passwd_override and group_override file
entries should be ignored. Without this flag, passwd_export
applies the override entries from both files to the local
password and group files that it creates.
-d directory_name Specifies the name of a directory in which to store the local
password and group files that are created by
passwd_export. If you do not enter this option, the files are
stored by default in the /etc directory on the local node.
For example, to store the files in the directory that is called
/etc/locals, enter the command in the following form:
dceshared/bin/passwd_export -d/etc/locals
-x Prohibits the creation of entries for users with password or
group overrides (on the local machine) that specify OMIT
as their encrypted password. Use the -x option to exclude
‘‘omitted’’ users or groups from the password and group
files that are created by passwd_export. To omit a user,
you must create an override entry for the user and enter the
word OMIT as the user’s password field entry. Omitted
users are unable to log into the local machine. (See Section
36.2.8.) To omit a group, create an override entry for the
group and enter the word OMIT as the group’s password
36 14 Tandem Computers Incorporated 124243