Date: Tue, 14 Mar 2000 17:36:31 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: Bhishan Hemrajani <bhishan@cytosine.dhs.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DoS attack, Mail errors on new account Message-ID: <2410.953048191@axl.ops.uunet.co.za> In-Reply-To: Your message of "Tue, 14 Mar 2000 07:25:32 PST." <200003141525.HAA36430@cytosine.dhs.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Mar 2000 07:25:32 PST, Bhishan Hemrajani wrote: > I'm pretty new at freebsd, could you help me with what > you said? What do you need help with? Setting up elm to run setgid mail? I don't use elm, so I can only give you general advice. Other people who know elm might have better answers for you (in fact, you might look for an elm-specific mailing list). > Also, /var/mail is writeable by the group mail, I think: > drwxrwxr-x 2 root mail 512 Mar 14 07:24 mail Yep, it's group writable. So... Become root. Find the elm binary. It's probably something like /usr/local/bin/elm. Once you've found it, you need to use the chown(8) utility to change its group ownership: chown :mail /usr/local/bin/elm This command assumes that the elm binary is /usr/local/bin/elm and that you have a group ``mail'', which has been present in FreeBSD since 2.2.7-RELEASE. Now you need to use the chmod(8) command to change the permissions on the binary: chmod g+s /usr/local/bin/elm That should do the trick unless elm plays silly buggers with GID at run time, in which case you really will need to talk to some elm people. For more information on what the commands above actually do, see the chown(8) and chmod(8) manual pages. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2410.953048191>