Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

userdown

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

userdown

Run node apps with stepping down user permissions

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

#node-userdown

Run node apps with stepping down user permissions

It is not recommended to run application with root user permission specially in production. But most of the time, we need to bind apps into port 80, which requires root privileges.

Enter Userdown

userdown gives you another solution for that, which allows you to stepdown any NodeJS app. This does not use child_process API and does not add any additional process overhead. Instead userdown wrap http module for get things done.

Installation

npm install userdown

Usage

userdown USERDOWN_UID=nobody USERDOWN_GID=nobody examples/port80server.js

FAQs

Package last updated on 19 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts