Skip to content

Commit

Permalink
doc: use test username instead of real
Browse files Browse the repository at this point in the history
PR-URL: nodejs#35611
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Harshitha K P <[email protected]>
  • Loading branch information
PoojaDurgad authored and joesepi committed Oct 22, 2020
1 parent c259f0a commit 0de8234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ Use care when dropping privileges:

```js
console.log(process.getgroups()); // [ 0 ]
process.initgroups('bnoordhuis', 1000); // switch user
process.initgroups('nodeuser', 1000); // switch user
console.log(process.getgroups()); // [ 27, 30, 46, 1000, 0 ]
process.setgid(1000); // drop root gid
console.log(process.getgroups()); // [ 27, 30, 46, 1000 ]
Expand Down

0 comments on commit 0de8234

Please sign in to comment.