Skip to content

Commit 92610f3

Browse files
PoojaDurgadTrott
authored andcommitted
doc: use test username instead of real
PR-URL: #35611 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Harshitha K P <[email protected]>
1 parent 999e7d7 commit 92610f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1457,7 +1457,7 @@ Use care when dropping privileges:
14571457

14581458
```js
14591459
console.log(process.getgroups()); // [ 0 ]
1460-
process.initgroups('bnoordhuis', 1000); // switch user
1460+
process.initgroups('nodeuser', 1000); // switch user
14611461
console.log(process.getgroups()); // [ 27, 30, 46, 1000, 0 ]
14621462
process.setgid(1000); // drop root gid
14631463
console.log(process.getgroups()); // [ 27, 30, 46, 1000 ]

0 commit comments

Comments
 (0)