Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 1999 09:09:49 +1200 (NZST)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        zhihuizhang <bf20761@binghamton.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How to modify an existing user's setting?
Message-ID:  <Pine.SC5.4.10.9904230907380.20125-100000@kiwi.pinnacle.co.nz>
In-Reply-To: <Pine.SOL.L3.93.990422140636.28167C-100000@bingsun1>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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