From owner-freebsd-questions Thu Apr 3 14:52:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA22014 for questions-outgoing; Thu, 3 Apr 1997 14:52:47 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA22007 for ; Thu, 3 Apr 1997 14:52:45 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by who.cdrom.com (8.8.5/8.6.11) with ESMTP id OAA18765 for ; Thu, 3 Apr 1997 14:52:39 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id OAA00584; Thu, 3 Apr 1997 14:51:20 -0800 (PST) Date: Thu, 3 Apr 1997 14:51:18 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: fifan01@dof-rocky.finance.state.mn.us cc: freebsd-questions@freebsd.org Subject: Re: chass -p -Reply In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Thu, 3 Apr 1997 fifan01@dof-rocky.finance.state.mn.us wrote: > My experience (and from the FreeBSD archives it appears other people > have had this problem) is that chpass -p when executed and passed > correctly formatted input (cypt(3) format), nothing happens... > alternatively if I execute chpass [user] and manually edit the encpass line > everything works fine.... It worked fine here on 2.2.1. You must be root to use -p, and don't forget to list the user. See chpass(8). su chpass -p faslfkansf user Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major