Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 1997 01:53:54 +0200 (MET DST)
From:      Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
To:        hirsh@skypoint.com (Roger P Johnson)
Cc:        questions@FreeBSD.ORG
Subject:   Re: su and not prompt for password? howto in 2.2.2
Message-ID:  <199706262353.BAA03950@helbig.informatik.ba-stuttgart.de>
In-Reply-To: <m0whL0I-0000VIC@mirage.skypoint.com> from Roger P Johnson at "Jun 26, 97 03:18:53 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706262353.BAA03950>