From jehamby@hamby1.lightside.net  Sat Mar 16 16:30:47 1996
Received: from hamby1.lightside.net (hamby1.lightside.net [198.81.209.17])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA10208
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Mar 1996 16:30:41 -0800 (PST)
Received: (from jehamby@localhost) by hamby1.lightside.net (8.6.12/8.6.12) id QAA00357; Sat, 16 Mar 1996 16:32:44 -0800
Message-Id: <199603170032.QAA00357@hamby1.lightside.net>
Date: Sat, 16 Mar 1996 16:32:44 -0800
From: jehamby@lightside.com
Reply-To: jehamby@lightside.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: "chsh -s" doesn't work in 2.1.0-RELEASE
X-Send-Pr-Version: 3.2

>Number:         1083
>Category:       bin
>Synopsis:       "chsh -s" doesn't work in 2.1.0-RELEASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 16 16:40:01 PST 1996
>Closed-Date:    Sun Mar 17 10:03:47 MET 1996
>Last-Modified:  Sun Mar 17 10:04:51 MET 1996
>Originator:     Jake Hamby
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
------------------------------------------------------------------------------
     Jake Hamby                         |   E-Mail:  jehamby@lightside.com
  Student, Cal Poly University, Pomona  |   System Administrator, JPL
------------------------------------------------------------------------------
>Environment:

2.1.0-RELEASE with 2.1-STABLE kernel.  486DX4/100 with 24MB RAM.

>Description:

The "chsh" command by itself works correctly (brings up an editor with 
shell and GECOS info), but changing just the shell with a line like "chsh 
-s tcsh" (as documented in the man page) appears to update the password file:

chsh: rebuilding the database...
chsh: done

But the password field is still the same.

>How-To-Repeat:

Just try it:  "chsh -s <mynewshell>"

>Fix:
	
Dunno..  Haven't looked at the source code.  It may be already fixed in 
-stable or -current.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sun Mar 17 10:03:47 MET 1996 
State-Changed-Why:  
This was a duplicate for misc/933 "chpass -s <shell>" does not work, 
and has already been fixed by time of submission. 

I've also pulled the fix into -STABLE. 

>Unformatted:
