This package has been deprecated

Author message:

This package is no longer maintained.

sysuser

1.1.0 • Public • Published

Installation

npm install sysuser

What does it do?

sysUser is a simple wrapper for unix commands such as useradd, userdel, & usermod to make changes to system users. In order for this to work the calling program MUST be running as root or have permissions to the user commands in command line. This NPM module is still in early development and has only been tested on the listed operating systems:

  • CentOS 6

Coding Examples

var sysUser = require('sysuser')();

// create user
sysUser.add('appUser',['-d','/home/custom/HomeDir'],function(err,uid){
	if(err){
		console.log('ERROR',err);
	}else{
		console.log('removed');
	}
});

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i sysuser

      Weekly Downloads

      2

      Version

      1.1.0

      License

      none

      Last publish

      Collaborators

      • jamie-c
      • matthew.a
      • blazedd
      • cherryjimbo
      • ncworker