From owner-freebsd-questions Thu Apr 23 09:12:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA27812 for freebsd-questions-outgoing; Thu, 23 Apr 1998 09:12:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA27780 for ; Thu, 23 Apr 1998 09:12:02 -0700 (PDT) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.7/8.8.7) id LAA16885; Thu, 23 Apr 1998 11:11:44 -0500 (CDT) From: "Paul T. Root" Message-Id: <199804231611.LAA16885@horton.iaces.com> Subject: Re: FreeBSD Problems To: calvin@corp.gulf.net (Calvin Meloon) Date: Thu, 23 Apr 1998 11:11:44 -0500 (CDT) Cc: root@bmkind.lnk.telstra.net, questions@FreeBSD.ORG In-Reply-To: from Calvin Meloon at "Apr 23, 98 10:51:10 am" X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In a previous message, Calvin Meloon said: > > > > 1. If I change the root login shell in /etc/passwd to /bin/sh instead of > > /bin/csh , it still comes up as "csh" when I login as root. > > As root, try chfn. Make sure you have the right path set up for 'sh'. I think the problem was that he editted /etc/passwd instead of using vipw. vipw edits /etc/master.passwd and then runs pwd_mkdb, which populates /etc/passwd /etc/pwd.db and /etc/spwd.db > > > > 2. The /etc/passwd file has * for all passwords. This is confusing because > > older unix systems used * to DISABLE a user login. If * is NOT disable, > > then how do I disable a user login ? > > This should be normal for the /etc/passwd file. Check your > /etc/master.passwd file, and you should see the encrypted passwords. /etc/passwd holds all information except passwords. > _____ __ _ > / ___/__ _/ / __(_)__ Gulf Coast Internet Calvin M. Meloon > / /__/ _ `/ / |/ / / _ \ Pensacola, FL Unix Administrator > \___/\_,_/_/|___/_/_//_/ (850)438-5700 writer of code > ~~~~ calvin@gulf.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Proponent of FreeBSD > and the right of everyone to use a real OS > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- "Everything that irritates us about others can lead us to an understanding about ourselves." --Carl Jung (1875-1961) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message