From owner-freebsd-questions Sun Nov 4 22:18:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta04.mail.mel.aone.net.au (mta04.mail.au.uu.net [203.2.192.84]) by hub.freebsd.org (Postfix) with ESMTP id 0C8F037B417 for ; Sun, 4 Nov 2001 22:18:18 -0800 (PST) Received: from ausyddtp0050.ozemail.com.au ([203.166.66.104]) by mta04.mail.mel.aone.net.au with ESMTP id <20011105061815.KJUY28908.mta04.mail.mel.aone.net.au@ausyddtp0050.ozemail.com.au> for ; Mon, 5 Nov 2001 17:18:15 +1100 Message-Id: <5.1.0.14.2.20011105171615.01eba8e0@pop.ozemail.com.au> X-Sender: rbyrnes@pop.ozemail.com.au X-Mailer: I wish it was Linux Date: Mon, 05 Nov 2001 17:18:11 +1100 To: freebsd-questions@FreeBSD.org From: Rob B Subject: Re: su problems - no password needed In-Reply-To: <20011105005153.A49306@keyslapper.org> References: <5.1.0.14.2.20011105152848.020c7a30@pop.ozemail.com.au> <5.1.0.14.2.20011105134247.01ea3e50@pop.ozemail.com.au> <5.1.0.14.2.20011105134247.01ea3e50@pop.ozemail.com.au> <5.1.0.14.2.20011105152848.020c7a30@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 16:51 5/11/2001, you muttered something like: >On 11/05/01 03:29 PM, Rob B sat at the `puter and typed: > > 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 > >Then if I could just toss my $0.02 in here, you might want to verify >that all the user accounts are still configured properly - passwords, >etc.. There is only one regular user on the box apart from root, and that's fine .... what is the user toor? From vipw: toor:*:0:0::0:0:Bourne-again Superuser:/root: Is this neccessary? Rob -- You lookin' at me? You lookin' at me?! [15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian This is random quote 1169 of a collection of 1184 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message