From owner-freebsd-questions Sun Nov 4 20:39:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta02.mail.mel.aone.net.au (mta02.mail.au.uu.net [203.2.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 255ED37B416 for ; Sun, 4 Nov 2001 20:39:20 -0800 (PST) Received: from ausyddtp0050.ozemail.com.au ([203.166.66.104]) by mta02.mail.mel.aone.net.au with ESMTP id <20011105043915.CXZK10382.mta02.mail.mel.aone.net.au@ausyddtp0050.ozemail.com.au>; Mon, 5 Nov 2001 15:39:15 +1100 Message-Id: <5.1.0.14.2.20011105152848.020c7a30@pop.ozemail.com.au> X-Sender: rbyrnes@pop.ozemail.com.au X-Mailer: I wish it was Linux Date: Mon, 05 Nov 2001 15:29:24 +1100 To: Edwin Groothuis From: Rob B Subject: Re: su problems - no password needed Cc: questions@freebsd.org In-Reply-To: <20011105142621.R35710@k7.mavetju.org> References: <5.1.0.14.2.20011105134247.01ea3e50@pop.ozemail.com.au> <5.1.0.14.2.20011105134247.01ea3e50@pop.ozemail.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 14:26 5/11/2001, Edwin Groothuis sent this up the stick: >On Mon, Nov 05, 2001 at 01:46:47PM +1100, Rob B wrote: > > I'm having an issue with su. My user is in the wheel group, and when > doing > > su - (ie: su to root, using root's environment) no password is asked > > for. this was not the case until I built world recently. any way to get > > the password thing back? > >If you do "vipw", what do you see then in the second field of the root-user? >Something like this? > root::0:0::0:0:Charlie &:/root:/usr/local/bin/bash > >Or is there a string filled in. > >Anyway, becoming root and using the passwd command would solve it >for what I think of it. Yep, that was it, no password set (alhough I did set one when I installed 4.4) Thanks, Rob -- He was very intelligent and all, but you could tell he didn't have too much brains. -Salinger [15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian This is random quote 461 of a collection of 1184 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message