Date: Tue, 14 Mar 2000 15:38:26 -0800 (PST) From: Bhishan Hemrajani <bhishan@cytosine.dhs.org> To: Sheldon Hearn <sheldonh@uunet.co.za> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DoS attack, Mail errors on new account Message-ID: <200003142338.PAA37444@cytosine.dhs.org> In-Reply-To: <2410.953048191@axl.ops.uunet.co.za> from Sheldon Hearn at "Mar 14, 2000 05:36:31 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Elm already had those permissions set. Is there anything else I can check? --bhishan > > > 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?200003142338.PAA37444>