Skip to content

Commit 6284f0d

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 78259b6 commit 6284f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ Use care when dropping privileges:
14551455

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

0 commit comments

Comments
 (0)