# How to set which user ruby processes run under

**URL:** https://meta.discourse.org/t/how-to-set-which-user-ruby-processes-run-under/177713
**Category:** Support
**Created:** [January 29, 2021, 8:26pm UTC](https://meta.discourse.org/t/how-to-set-which-user-ruby-processes-run-under/177713 "2021-01-29T20:26:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![torsi](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@torsi](https://meta.discourse.org/u/torsi)
#### Post date: [January 29, 2021, 8:26pm UTC](https://meta.discourse.org/t/how-to-set-which-user-ruby-processes-run-under/177713/1 "2021-01-29T20:26:45Z")

</div>

I have an installation where all of the ruby processes are running under an account I want to delete. This is not the account that was last used to run `launcher`. Ownership and group settings for every file and directory I could think to check are set to root.

```plaintext
# ps -u [user account I want to delete]
    PID TTY TIME CMD
 733618 ? 00:02:59 unicorn_launche
 733647 ? 00:09:44 ruby
 733694 ? 01:27:15 ruby
 733719 ? 03:55:44 ruby
 733729 ? 03:59:41 ruby
 733740 ? 03:42:28 ruby
 733750 ? 03:39:32 ruby
 733761 ? 03:35:27 ruby
 733770 ? 03:39:52 ruby
 733780 ? 03:44:21 ruby
 733792 ? 03:39:14 ruby
1339347 ? 00:00:00 systemd
1339350 ? 00:00:00 (sd-pam)
1339423 ? 00:00:07 sshd
1339424 pts/0 00:00:00 bash
1341154 ? 00:00:00 sleep

```

Where is this set and how do I change it? Thanks!
