projects
/
idzebra-moved-to-github.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Removed locksrv, lockidx.
[idzebra-moved-to-github.git]
/
util
/
passtest.c
1
2
#include <passwddb.h>
3
4
int main (int argc, char **argv)
5
{
6
Passwd_db db;
7
8
db = passwd_db_open();
9
10
passwd_db_file (db, "/etc/passwd");
11
passwd_db_show (db);
12
passwd_db_auth (db, "adam", "xtx9Y=");
13
passwd_db_close (db);
14
return 0;
15
}