Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 1997 01:06:18 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Andre LeClaire <leclaire@venus.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: login with no password
Message-ID:  <Pine.BSI.3.94.970331010200.397L-100000@localhost>
In-Reply-To: <Pine.BSF.3.95q.970327165327.164A-100000@leclaire.venus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Mar 1997, Andre LeClaire wrote:

> > 
> > > I just upgraded to 2.2.1 via cvsup & make world. Now when I try to add a
> > > user with no password or remove a user's password field using vipw, a
> > > login by that user still requires a password. I know it's not a good idea
> > > to try to do this, but it was possible with 2.2.0 and below, so I'm
> > > wondering if this was an intentional change or what?
> > 
> > Hm, working okay on my 2.2-gamma box.
> > 
> > Try using adduser to create the account.
> > 
> Thats what I'm using, adduser. It worked on 2.2.0, but not 2.2.1.

Strange.  Make sure you are saving the file before quitting; vipw should
then say it's rebuilding the password database. 

I know you can use adduser to do this; just hit return when prompted for
the password, adduser will want you to confirm to use no password for this
user.  I just did it:

gdi,ttyp2,/usr/local/etc,74>sudo adduser
Use option ``-verbose'' if you want see more warnings & questions 
or try to repair bugs.

Enter username [A-Za-z0-9_]: blah
Enter full name []: blah
Enter shell csh date no sh tcsh [csh]: 
Uid [1004]: 
Login group blah [blah]: 
Login group is ``blah''. Invite blah into other groups: guest no 
[no]: 
Enter password []: 
Use an empty password? (y/n) [y]: y

Here's the version I'm on.

gdi,ttyp2,/usr/local/etc,77>ident /usr/sbin/adduser
/usr/sbin/adduser:
     $Id: adduser.perl,v 1.19.2.2 1996/12/23 02:09:37 mpp Exp $

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.970331010200.397L-100000>