From owner-freebsd-questions Sun Nov 4 19:26:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id D6D8437B416 for ; Sun, 4 Nov 2001 19:26:33 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 87BAA2B737; Mon, 5 Nov 2001 04:26:27 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 0DA64313; Mon, 5 Nov 2001 14:26:21 +1100 (EST) Date: Mon, 5 Nov 2001 14:26:21 +1100 From: Edwin Groothuis To: Rob B Cc: questions@freebsd.org Subject: Re: su problems - no password needed Message-ID: <20011105142621.R35710@k7.mavetju.org> References: <5.1.0.14.2.20011105134247.01ea3e50@pop.ozemail.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.1.0.14.2.20011105134247.01ea3e50@pop.ozemail.com.au>; from rbyrnes@ozemail.com.au on Mon, Nov 05, 2001 at 01:46:47PM +1100 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 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. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message