From owner-freebsd-questions@FreeBSD.ORG Wed Dec 27 10:16:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33FED16A407 for ; Wed, 27 Dec 2006 10:16:19 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.freebsd.org (Postfix) with ESMTP id 129F813C463 for ; Wed, 27 Dec 2006 10:16:19 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBRAGIK2020904 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 27 Dec 2006 02:16:18 -0800 X-Auth-Received: from [192.168.0.101] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBRAGHRK013722 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 27 Dec 2006 02:16:18 -0800 Message-ID: <459247F1.80004@u.washington.edu> Date: Wed, 27 Dec 2006 02:16:17 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20061226) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.12.27.15933 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: change password without shell access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Dec 2006 10:16:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Perttu Laine wrote: > Hello! > > I'm looking tool for freebsd that allows user to change their password > without access to server. If there are any? We're running mail server with > nologin account and would like to let users change their password. From www > would be preferred way. And possibly to change their .forward file too. So > are there any tools for this? No tools are present that I know of, but using a little Perl/CGI or PHP to execute passwd is pretty simple. Just be sure to use a series of checks so people don't send in chars that can be interpreted for execution or have special purpose uses by shells. Don't suggest this solution as it is insecure, but it's an example: . Don't remember how to change the password using command line arguments either, but I know it can be done somehow (pw? passwd?), some way.. - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFkkfxEnKyINQw/HARAnHbAJ48STx6HSweC70knqKg0jTqO4sMygCgrWhJ sumICGu1LY1AIzHtW2uZrgo= =ios+ -----END PGP SIGNATURE-----