Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 42a587f

Browse filesBrowse files
PoojaDurgadMylesBorins
authored andcommitted
doc: use test username instead of real
PR-URL: #35611 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
1 parent bfff4fc commit 42a587f
Copy full SHA for 42a587f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/process.md‎

Copy file name to clipboardExpand all lines: doc/api/process.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@ Use care when dropping privileges:
14221422

14231423
```js
14241424
console.log(process.getgroups()); // [ 0 ]
1425-
process.initgroups('bnoordhuis', 1000); // switch user
1425+
process.initgroups('nodeuser', 1000); // switch user
14261426
console.log(process.getgroups()); // [ 27, 30, 46, 1000, 0 ]
14271427
process.setgid(1000); // drop root gid
14281428
console.log(process.getgroups()); // [ 27, 30, 46, 1000 ]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.