# Starting DRb as a specific user

**URL:** <https://www.ruby-forum.com/t/starting-drb-as-a-specific-user/120608>\
**Category:** Ferret\
**Created:** [November 19, 2007, 5:58am UTC](https://www.ruby-forum.com/t/starting-drb-as-a-specific-user/120608 "2007-11-19T05:58:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daveamos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a698b9/32.png) [@daveamos](https://www.ruby-forum.com/u/daveamos)\
**Post date:** [November 19, 2007, 5:58am UTC](https://www.ruby-forum.com/t/starting-drb-as-a-specific-user/120608/1 "2007-11-19T05:58:52Z")

</div>

Hello everyone,

Just implemented ferret, acts\_as\_ferret, and the handy DRb server. I  
would like to create a script to automatically start my DRb server when  
my system (Ubuntu currently) starts up. I’ve been using the example at  
the bottom of the following:

[http://projects.jkraemer.net/acts\_as\_ferret/wiki/DrbServer](http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer)

This works fine (well, until the most recent acts\_as\_ferret updates,  
which forced me to tweak the script a bit), but starts the DRb server as  
the root user. Is there some way to start it as another user? For  
instance, it would be cool if the ferret\_server.yml accepted a “group”  
and “user” configuration option similar to how mongrel\_cluster does in  
mongrel\_cluster.yml.

Anyone have a suggestion?
