Comparing version 0.0.0 to 0.0.1
@@ -5,3 +5,3 @@ { | ||
"description": "Interface to read a standard Unix passwd and group file-format", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"repository": { | ||
@@ -22,3 +22,4 @@ "url": "https://github.com/bahamas10/node-etc-passwd.git", | ||
"node": "*" | ||
} | ||
}, | ||
"keywords": [ "etc", "passwd", "group" ] | ||
} |
@@ -120,7 +120,9 @@ passwd(4) and group(4) | ||
[ | ||
{"username":"nobody","password":"*","uid":-2,"gid":-2,"comments":"Unprivileged User","home":"/var/empty","shell":"/usr/bin/false"}, | ||
{"username":"root","password":"*","uid":0,"gid":0,"comments":"System Administrator","home":"/var/root","shell":"/bin/sh"}, | ||
... | ||
] | ||
``` json | ||
[ | ||
{"username":"nobody","password":"*","uid":-2,"gid":-2,"comments":"Unprivileged User","home":"/var/empty","shell":"/usr/bin/false"}, | ||
{"username":"root","password":"*","uid":0,"gid":0,"comments":"System Administrator","home":"/var/root","shell":"/bin/sh"}, | ||
... | ||
] | ||
``` | ||
@@ -139,3 +141,11 @@ ### passwd.getUser() | ||
``` json | ||
{"username":"root","password":"*","uid":0,"gid":0,"comments":"System Administrator","home":"/var/root","shell":"/bin/sh"} | ||
{ | ||
"username": "root", | ||
"password": "*", | ||
"uid": 0, | ||
"gid": 0, | ||
"comments": "System Administrator", | ||
"home": "/var/root", | ||
"shell": "/bin/sh" | ||
} | ||
``` | ||
@@ -177,9 +187,10 @@ | ||
[ | ||
{"groupname":"nobody","password":"*","gid":-2,"users":[]} | ||
{"groupname":"nogroup","password":"*","gid":-1,"users":[]} | ||
... | ||
] | ||
``` json | ||
[ | ||
{"groupname":"nobody","password":"*","gid":-2,"users":[]} | ||
{"groupname":"nogroup","password":"*","gid":-1,"users":[]} | ||
... | ||
] | ||
``` | ||
### passwd.getGroup() | ||
@@ -195,3 +206,10 @@ | ||
``` json | ||
{"groupname":"wheel","password":"*","gid":0,"users":["root"]} | ||
{ | ||
"groupname": "wheel", | ||
"password": "*", | ||
"gid": 0, | ||
"users": [ | ||
"root" | ||
] | ||
} | ||
``` | ||
@@ -198,0 +216,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9943
217