nis-util  1.0.D108
Functions
nis-util-passwd/byname.cc File Reference
#include <lib/output/file.h>
#include <lib/colon/passwd.h>
#include <nis-util-passwd/byname.h>

Go to the source code of this file.

Functions

void passwd_by_name (const rcstring &ifn, const rcstring &ofn)
void passwd_by_uid (const rcstring &ifn, const rcstring &ofn)

Function Documentation

void passwd_by_name ( const rcstring input,
const rcstring output 
)

The passwd_by_name function is used to convert the passwd file into a form suitable for passing to makedbm to build a NIS map.

Definition at line 26 of file byname.cc.

void passwd_by_uid ( const rcstring input,
const rcstring output 
)

The passwd_by_uid function is used to convert the passwd file into a form suitable for passing to makedbm to build a NIS map.

Definition at line 45 of file byname.cc.