From owner-freebsd-questions Fri Jun 27 00:11:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA08380 for questions-outgoing; Fri, 27 Jun 1997 00:11:42 -0700 (PDT) Received: from snitterly.nanoteq.co.za (snitterly.nanoteq.co.za [163.195.221.5]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA08361 for ; Fri, 27 Jun 1997 00:11:30 -0700 (PDT) Received: from PC-PVL (pc-pvl.nanoteq.co.za [163.195.219.103]) by snitterly.nanoteq.co.za (8.8.3/8.8.3) with SMTP id JAA22343; Fri, 27 Jun 1997 09:13:40 GMT Received: by PC-PVL with Microsoft Mail id <01BC82D9.76ADB160@PC-PVL>; Fri, 27 Jun 1997 09:06:57 +0200 Message-ID: <01BC82D9.76ADB160@PC-PVL> From: "P. van Leeuwen" To: "'Wolfgang Helbig'" , Roger P Johnson Cc: "questions@FreeBSD.ORG" Subject: RE: su and not prompt for password? howto in 2.2.2 Date: Fri, 27 Jun 1997 09:06:05 +0200 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 -----Original Message----- From: Wolfgang Helbig [SMTP:helbig@MX.BA-Stuttgart.De] Sent: Friday, June 27, 1997 1:54 To: Roger P Johnson Cc: questions@FreeBSD.ORG Subject: Re: su and not prompt for password? howto in 2.2.2 >> >> 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 2.2 doesn't allow empty passwords AFAIK. I tried it, and couldn't log in, as I was still prompted for a password. pierre P. van Leeuwen Electronic Engineer pvl@nanoteq.com http://www.nanoteq.co.za