Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

annoying sendmail problem

  • 06-04-2002 10:11pm
    #1
    Registered Users, Registered Users 2 Posts: 2,518 ✭✭✭


    Lately a FreeBSD box we run in college has refused to allow any users but root to send email; here's the log messages it's been throwing out:
    Apr 5 12:34:59 netsoc sendmail[57241]: g35BYxWx057241: SYSERR(cluster): collect: Cannot write ./dfg35BYxWx057241 (bfcommit, uid=1003,
    +gid=25): Permission denied

    I've checked the permissions and ownerships on /var/spool/mqueue, /var/spool/clientmqueue and /var/mail and they all seem to be set correctly. The only thing I can think of is that this has happend since I cvsup'ed all the sources on the box, but I fail to see how that could effect this.

    Anybody else running 4.5-STABLE having these problems ?


Comments

  • Registered Users, Registered Users 2 Posts: 1,862 ✭✭✭flamegrill


    i also had that problem.

    the fix i found was that somehow, the "s" bit was removed from several system files that need to be suid for say email to work.

    so just set sendmails suid bit on and there are a few others that are needed too. i cant remember off hand. did you also notice you cant su to root? same thing chmod +s /bin/su or where ever it is.

    Regards,

    Paul


  • Registered Users, Registered Users 2 Posts: 2,518 ✭✭✭Hecate


    ah grand that worked fine, /usr/sbin/mailwrapper was causing the problem.

    Didn't notice any problems with su though.


  • Registered Users, Registered Users 2 Posts: 1,862 ✭✭✭flamegrill


    Good Good. glad to help.

    Regards,

    Paul


  • Registered Users, Registered Users 2 Posts: 2,518 ✭✭✭Hecate


    very odd, I just upgraded and the same problem cropped up again :/

    I'm surprised there isn't more information about this since it's such a major problem.


  • Registered Users, Registered Users 2 Posts: 1,862 ✭✭✭flamegrill


    upgraded in what way? like cvsUP? or just a re-install/upgrade from the cd? the prob arises when it backs up your bin dir and then just copies the files back to bin i think at some later stage. it doesnt replace the suid bit on the proper files.

    i had probs using passwd aswell as su and mail till i checked all the correct files.

    it is truly odd. maybe one of us should contact them about it? :)

    u wanna do it or shall i?

    Regards,

    Paul


  • Advertisement
Advertisement