From owner-freebsd-questions Wed Apr 29 10:14:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA15283 for freebsd-questions-outgoing; Wed, 29 Apr 1998 10:14:06 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns1.lex.gob.gt (ns1.lex.gob.gt [168.234.110.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA15156 for ; Wed, 29 Apr 1998 10:13:37 -0700 (PDT) (envelope-from victor@usac.edu.gt) Received: from mp-dbs.mp.intralex (mp-dbs.mp.intralex [192.168.1.3]) by ns1.lex.gob.gt (8.8.7/8.8.7) with ESMTP id KAA21572 for ; Wed, 29 Apr 1998 10:54:28 -0600 (CST) (envelope-from victor@usac.edu.gt) Received: from localhost (victor@localhost) by mp-dbs.mp.intralex (8.8.7/8.8.7) with SMTP id KAA09352 for ; Wed, 29 Apr 1998 10:53:57 -0600 (CST) (envelope-from victor@usac.edu.gt) X-Authentication-Warning: mp-dbs.mp.intralex: victor owned process doing -bs Date: Wed, 29 Apr 1998 10:53:54 -0600 (CST) From: "Victor M. Carranza G." X-Sender: victor@mp-dbs.mp.intralex To: FreeBSD Questions mailing list Subject: How does SUID and SGID work? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to get rid of a problem with PC-Pine 3.96 (IMAP mail client). The problem is that it cannot write a lock file in /var/mail due to denied write access. In my inetd.conf file, the imapd is started as root, but ps reveals that the process is owned by the authenticated user, instead of root, once started. Instead of making /var/mail world-writeable, I tried to chown root and chmod u+s imapd, but no success. It keeps taking the authenticated user ID. I tried to chgrp mail imapd also, 'cause the mail group does have write access on /var/mail, and then chmod g+s imapd, but got the same results. What am I doing wrong? If this behaviour is an imapd security feature, What could be the possible security implications in turning /var/mail world-writeable? Thanks in advance. Victor M. Carranza G. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message