From owner-freebsd-questions@FreeBSD.ORG Fri Sep 16 13:21:17 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C33B516A420 for ; Fri, 16 Sep 2005 13:21:17 +0000 (GMT) (envelope-from aleksandrs.bogdanovs@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1A9A43D5D for ; Fri, 16 Sep 2005 13:21:14 +0000 (GMT) (envelope-from aleksandrs.bogdanovs@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so52965nzd for ; Fri, 16 Sep 2005 06:21:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k9VoUI3CxsHqlf17FdV5nbWpYYQXHDHh4t5OObMtCQqVTTLCFe+rG9BhFMMwoaBeHhX8nu6lLAIr+PAW3AWXfN7QDIO0Uyqykr9XEwn/WXArKGRd/jAJKgaVpE1swIYfltziga8BxqhdDWuEPQ5jhKajYK6ixB0tChWCDM2I12s= Received: by 10.37.2.45 with SMTP id e45mr211242nzi; Fri, 16 Sep 2005 06:21:14 -0700 (PDT) Received: by 10.36.80.9 with HTTP; Fri, 16 Sep 2005 06:21:14 -0700 (PDT) Message-ID: <38ae654e05091606215745f583@mail.gmail.com> Date: Fri, 16 Sep 2005 16:21:14 +0300 From: Alexander Bogdanov To: freebsd-questions@freebsd.org In-Reply-To: <443bo541g2.fsf@be-well.ilk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <38ae654e0509151303500da69d@mail.gmail.com> <4329FD92.9030102@purdue.edu> <443bo541g2.fsf@be-well.ilk.org> Subject: Re: Mail question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: aleksandrs.bogdanovs@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 13:21:17 -0000 Hello. I can describe my problem: server will be located in school (school web server). And i'd like to create mail accounts for pupils and teachers, there's no problem. But...i'd like user to change his password by himself, he is just user, and don't have shell account in this server, only mail! Maybe, i should write any PHP script to change /etc/passwd ? On 16 Sep 2005 08:55:09 -0400, Lowell Gilbert wrote: > Chris Petrovitch writes: >=20 > > Alexander Bogdanov wrote: > > > > >Hello. > > >I'm student from Latvia. I'd like to ask you a question about Postfix > > >mail system under FreeBSD. > > >I have such problem: target is to allow user to change his mail > > >account's password by himself. For example, I set password for his > > >account, and maybe, user doesn't want me to know this password, so > > >he'd like to change it! > > > The question is: HOW? I'm looking forward to hearing from you. > > > > > > > I'm in the same situation.... I used /etc/passwd for people with > > shell accounts, and /usr/local/etc/userdb (courier-imap) for virtual > > accounts.. > > > > any insight on this would be great! >=20 > Note that in neither case does the password have anything directly to > do with Postfix. For shell accounts, passwd(1) is the standard > answer, and there are add-on services (e.g., mail/poppassd). For > Courier databases, you may need something specific to Courier; is > security/courierpassd relevant? >=20 > -- > Lowell Gilbert, embedded/networking software engineer, Boston area > http://be-well.ilk.org/~lowell/ >=20 --=20 Best regards, Alexander Bogdanov (GSM: +3716100890).