If you are using the RPMs that I built, they are all setup for "system-wide" functionality. However, if you change the /etc/sysconfig/ofmipd file, it will behave differently. Did you remove the -u option completely? If you did, then it will try to run as the "tofmipd" user (default) since you appear to be starting it as root. If you do not have that user, it will fail
What user do you want it to run as? Please post your /etc/sysconfig/ofmipd file. The RPM also sets the -R option to authenticate against pop3 on localhost. The /etc/tofmipd file is still required however, because there is a bug somewhere in tmda-ofmipd that checks for it. I haven't bothered looking why yet... just happily include a blank /etc/tofmipd file if you are using other auth techniques. ----- Original Message ----- From: "Mark McArthey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 08, 2003 6:57 AM Subject: tmda-ofmipd > Is it true that ofmipd still runs as the user tofmipd (using the > /etc/tofmipd file) when run as root? I used the 0.68 RPM and I noticed > it wanted to create the 'ofmipd' user and modified the > /etc/sysconfig/ofmipd file to suit. I don't have the ofmipd user, and I > made sure I changed the sysconfig file to reflect that. When I ran the > init.d restart, it gave me this: > > [root@werlax init.d]# /etc/init.d/ofmipd restart > Stopping ofmipd: FAILED] > Starting ofmipd: > ********************************************************************** > WARNING: The security implications and risks of running > /usr/sbin/tmda-ofmipd in "seteuid" mode have not been fully evaluated. > If you are uncomfortable with this, quit now and instead run > /usr/sbin/tmda-ofmipd under your non-privileged TMDA user account. > ********************************************************************** > > Traceback (most recent call last): > File "/usr/sbin/tmda-ofmipd", line 1063, in ? > main() > File "/usr/sbin/tmda-ofmipd", line 1031, in main > pw_uid = Util.getuid(username) > File "/usr/lib/python2.2/site-packages/TMDA/Util.py", line 81, in > getuid > return pwd.getpwnam(username)[2] > KeyError: getpwnam(): name not found > FAILED] > > > Any ideas? > Thanks! > Mark > > > _____________________________________________ > tmda-users mailing list ([EMAIL PROTECTED]) > http://tmda.net/lists/listinfo/tmda-users > _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
