Bug 185614 - RFE: Add possibility for running saslauthd as non-root?
Summary: RFE: Add possibility for running saslauthd as non-root?
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cyrus-sasl
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jan F. Chadima
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-16 12:58 UTC by Pekka Pietikäinen
Modified: 2011-01-26 16:21 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-01-26 16:21:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
add $DAEMONOPTS to saslauthd startup. And submit the right file. (420 bytes, patch)
2006-03-16 12:59 UTC, Pekka Pietikäinen
no flags Details | Diff
Sample /etc/sysconfig/saslauthd for running as non-privileged user (601 bytes, text/plain)
2006-03-16 13:05 UTC, Pekka Pietikäinen
no flags Details

Description Pekka Pietikäinen 2006-03-16 12:58:23 UTC
saslauthd can run without root as long as you aren't running against PAM.

Would it be possible to:

1) get a saslauth user created by default 
2) make /var/run/saslauthd owned by sasldauth.saslauth 
3) Add the diff attached to this report to the initscript
4) make the default /etc/sysconfig/saslauthd like the one attached.

Thanks :)

Comment 1 Pekka Pietikäinen 2006-03-16 12:59:38 UTC
Created attachment 126216 [details]
add $DAEMONOPTS to saslauthd startup. And submit the right file.

Comment 2 Pekka Pietikäinen 2006-03-16 13:05:57 UTC
Created attachment 126217 [details]
Sample /etc/sysconfig/saslauthd for running as non-privileged user

Comment 3 Pekka Pietikäinen 2006-03-16 13:09:31 UTC
Comment on attachment 126216 [details]
add $DAEMONOPTS to saslauthd startup. And submit the right file.

--- saslauthd~	2006-03-16 14:59:41.583375088 +0200
+++ saslauthd	2006-03-16 14:59:53.783889717 +0200
@@ -34,7 +34,7 @@

 start() {
	echo -n $"Starting $prog: "
-	daemon $path -m $SOCKETDIR -a $MECH $FLAGS
+	daemon $DAEMONOPTS $path -m $SOCKETDIR -a $MECH $FLAGS
	RETVAL=$?
	echo
	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog

Comment 5 Fedora Admin XMLRPC Client 2009-05-04 08:26:58 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.


Note You need to log in before you can comment on or make changes to this bug.