From owner-freebsd-questions Thu Apr 22 14:17:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kiwi.pinnacle.co.nz (pinnacle.internet.co.nz [210.48.55.133]) by hub.freebsd.org (Postfix) with ESMTP id 8F64114DDA for ; Thu, 22 Apr 1999 14:17:21 -0700 (PDT) (envelope-from jonc@pinnacle.co.nz) Received: from kiwi.pinnacle.co.nz (kiwi.pinnacle.co.nz [202.37.163.2]) by kiwi.pinnacle.co.nz (8.9.3/8.9.3) with ESMTP id JAA20316; Fri, 23 Apr 1999 09:09:49 +1200 (NZST) Date: Fri, 23 Apr 1999 09:09:49 +1200 (NZST) From: Jonathan Chen To: zhihuizhang Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to modify an existing user's setting? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 22 Apr 1999, zhihuizhang wrote: [..] > I can not delete the root user by rmuser. So I delete root by vipw. > After that, I exit and try to login in as toor. But this time no matter > whatever passwd I try, it won't log me in (I tries the old root password > or simple press enter at the passwd prompt). The passwd field for toor is > a * if you see it by vipw. Why the heck would you want to delete the `root' user for? Your only option now is to hit the reset key and reboot into single-user mode, and put the root user back in. If all you wanted was to change the root's shell, all you needed to do was to invoke vipw/chsh and change the shell. Jonathan Chen ------------------------------------------------------------------------ Do not take life too seriously. You will never get out of it alive. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message