Modify

#254 closed enhancement (fixed)

make forkdaemon mode able to start as root and drop privs

Reported by: anonymous Owned by:
Priority: wishlist Milestone: 1.2
Component: BitlBee Version: 1.0.3
Keywords: Cc:
IRC client+version: Client-independent Operating System: Linux
OS version/distro:

Description

it'd be great for starting the server on system start and such (read: starting it as root) and if bitlbee could then drop root privs, changing to a specified user and group.

If no one else gets to it, I may submit a patch sooner or later.

Attachments (1)

droproot.diff (3.0 KB) - added by Simo Leone <simo@…> at 2007-02-22T01:53:21Z.
A quick and dirty patch to drop root privs. Needs some polish to make it shinier.

Download all attachments as: .zip

Change History (3)

comment:1 Changed at 2007-02-21T12:26:45Z by wilmer

Milestone: 1.1/1.2

Good idea. Of course the non-forking daemon mode should do this too.

Changed at 2007-02-22T01:53:21Z by Simo Leone <simo@…>

Attachment: droproot.diff added

A quick and dirty patch to drop root privs. Needs some polish to make it shinier.

comment:2 Changed at 2007-12-02T23:20:47Z by wilmer

Resolution: fixed
Status: newclosed

Thanks for the patch! Submitted, at last. :-)

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.