Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

etc-passwd

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

etc-passwd - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

5

package.json

@@ -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" ]
}

44

README.md

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc