Bug 185614

Summary: RFE: Add possibility for running saslauthd as non-root?
Product: [Fedora] Fedora Reporter: Pekka Pietikäinen <pp>
Component: cyrus-saslAssignee: Jan F. Chadima <jchadima>
Status: CLOSED NEXTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: FutureFeature, Patch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-26 16:21:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
add $DAEMONOPTS to saslauthd startup. And submit the right file.
none
Sample /etc/sysconfig/saslauthd for running as non-privileged user none

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.