Skip to content

Commit 42a587f

Browse files
PoojaDurgadMylesBorins
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 bfff4fc commit 42a587f

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