Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theprez/nodejs-ibmi-pw

IBM i Password Validation module for npm
https://github.com/theprez/nodejs-ibmi-pw

Last synced: 1 day ago
JSON representation

IBM i Password Validation module for npm

Awesome Lists containing this project

README

        

# IBM i Password Verifier (ibmi-pw)
Simple IBM i Password Validation module for npm. Can be used to check whether a provided user name (IBM i user profile)
and password are valid.
**This module only works on IBM i!**

This module verifies that the user ID and password are correct. If the password is not correct, the incorrect password
count is increased. (The QMAXSIGN system value contains the maximum number of incorrect attempts to sign on.) If the
QMAXSGNACN system value is set to disable the user profile, repeated attempts to validate an incorrect password disable
the user ID. This keeps applications from methodically determining user passwords.

# Installation (works for IBM i only)
```
npm install ibmi-pw
```

# Usage
```javascript
var validator = require('ibmi-pw')
console.log("Is password valid? "+ validator.verifyIbmiPw("usrprf","mypassword"));
```

# Prohibited IBM i user profiles

You cannot validate a password for the following system-supplied user profiles:
- QAUTPROF
- QDLFM
- QMSF
- QSNADS
- QTSTRQS
- QCLUMGT
- QDOC
- QNETSPLF
- QSPL
- QCOLSRV
- QDSNX
- QNFSANON
- QSPLJOB
- QDBSHR
- QFNC
- QNTP
- QSRVAGT
- QDBSHRDO
- QGATE
- QPEX
- QSYS
- QDFTOWN
- QLPAUTO
- QPM400
- QTCP
- QDIRSRV
- QLPINSTALL
- QRJE
- QTFTP

# Doc
Sorry, this is it!