From owner-freebsd-questions Thu Jun 26 16:54:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA20647 for questions-outgoing; Thu, 26 Jun 1997 16:54:00 -0700 (PDT) Received: from helbig.informatik.ba-stuttgart.de (rvc1.informatik.ba-stuttgart.de [141.31.112.22]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA20641 for ; Thu, 26 Jun 1997 16:53:56 -0700 (PDT) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.5/8.8.5) id BAA03950; Fri, 27 Jun 1997 01:53:55 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199706262353.BAA03950@helbig.informatik.ba-stuttgart.de> Subject: Re: su and not prompt for password? howto in 2.2.2 In-Reply-To: from Roger P Johnson at "Jun 26, 97 03:18:53 pm" To: hirsh@skypoint.com (Roger P Johnson) Date: Fri, 27 Jun 1997 01:53:54 +0200 (MET DST) Cc: questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Ok. This should be easy. > > In 2.1.5 I have myself a member of group wheel, thus when I do: > $ su > # > > I get the root prompt without the passwd. Probably, because your root did not have a password, i. e. an empty password. > > In 2.2.2 I have myself a member of group wheel, and now when I do: > $ su > Password: > > > How do I stop the prompting of the password?? Put an empty password for root in /etc/passwd. But this might be a mistake for other reasons. See man 5 passwd and vipw(8) for a way to change the password file. Wolfgang