Node Director
passwd file database
Database URIs

SYNOPSIS

Passwd file URI

passwdfile:retrieverspec

i.e.

passwdfile:atomicfile:/etc/passwd

DESCRIPTION

The passwd file database driver implements reading from/writing to the classic passwd file commonly used on Unix systems. Each entry in the passwd file reflects a user account.

When used in write mode, this driver accepts user records as input and emits a passwd entry for each of them.

In read mode, the driver parses input in passwd file format and emits a user record for each of them as a posixAccount object.

OPTIONS

The driver accepts the following options:

shadow

If the shadow option is set in write mode, the password field in the emitted records is set to 'x', assuming that the password hash will be available via a separate shadow file.

md5

If set in write mode, the passwd file driver will prefer MD5 crypt hashes over traditional crypt hashes, when both are provided in the user record.