Skip to content

Commit

Permalink
perm: switch to groweb for simplified access by web
Browse files Browse the repository at this point in the history
  • Loading branch information
grammmike committed Mar 27, 2024
1 parent d50c1fd commit b782c51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grommunio-index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1062,9 +1062,9 @@ int main(int argc, char **argv) try
return single_mode();

if (geteuid() == 0) {
auto ret = HXproc_switch_user("grommunio", "gromox");
auto ret = HXproc_switch_user("grommunio", "groweb");
if (static_cast<int>(ret) < 0) {
fprintf(stderr, "switch_user grommunio/gromox: %s\n", strerror(errno));
fprintf(stderr, "switch_user grommunio/groweb: %s\n", strerror(errno));
return EXIT_FAILURE;
}
/* setuid often disables coredumps, so restart to get them back. */
Expand Down

0 comments on commit b782c51

Please sign in to comment.