From owner-freebsd-bugs Sat Jan 6 00:30:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA04497 for bugs-outgoing; Sat, 6 Jan 1996 00:30:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA04491 Sat, 6 Jan 1996 00:30:03 -0800 (PST) Resent-Date: Sat, 6 Jan 1996 00:30:03 -0800 (PST) Resent-Message-Id: <199601060830.AAA04491@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, taob@io.org Received: from zip.io.org (zip.io.org [198.133.36.80]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA04358 for ; Sat, 6 Jan 1996 00:27:00 -0800 (PST) Received: (from taob@localhost) by zip.io.org (8.6.12/8.6.12) id DAA09306; Sat, 6 Jan 1996 03:25:56 -0500 Message-Id: <199601060825.DAA09306@zip.io.org> Date: Sat, 6 Jan 1996 03:25:56 -0500 From: taob@io.org Reply-To: taob@io.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/933: "chpass -s" to change shell does not work Sender: owner-bugs@freebsd.org Precedence: bulk >Number: 933 >Category: misc >Synopsis: "chpass -s " does not work >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 6 00:30:01 PST 1996 >Last-Modified: >Originator: Brian Tao >Organization: Internex Online Inc., Toronto, Ontario, Canada >Release: FreeBSD 2.1-STABLE i386 >Environment: Using libdescrypt, /etc/shells contains: # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using # one of these shells. /bin/csh /bin/sh /usr/local/bin/bash /usr/local/bin/ksh /usr/local/bin/tcsh /usr/local/bin/zsh >Description: Using "chpass -s " or "chsh -s " to change a user's login shell causes a rebuild of the passwd databases, but no changes are visible in /etc/passwd or /etc/master.passwd. >How-To-Repeat: % whoami taob % fgrep taob: /etc/passwd taob:*:850:20:Brian Tao,,,:/u/staff/taob:/usr/local/bin/tcsh % chsh -s /bin/csh chsh: rebuilding the database... chsh: done % fgrep taob: /etc/passwd taob:*:850:20:Brian Tao,,,:/u/staff/taob:/usr/local/bin/tcsh >Fix: Run "chpass" or "chsh" without any command line options to use an interactive editor to change user information. >Audit-Trail: >Unformatted: