Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2000 21:13:00 -0500
From:      bill@twwells.com (T. William Wells)
To:        freebsd-questions@freebsd.org
Subject:   Re: passwd, root, single user problem!
Message-ID:  <86lkua$7dn$1@twwells.com>
References:  <Pine.BSF.4.10.10001251239250.2141-100000@kino>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.4.10.10001251239250.2141-100000@kino>,
Victor Y. Dominguez <yoalli@kino.tij.uia.mx> wrote:
: I just install Fbsd 3.4 on my pc. I change the root passwd after
: installation, but when was time to login it didn't let me. So then I boot
: as a single user and tried to change my passwd. But then I realized that I
: couldn't open any file. I get errors like this:
:
: #vipw
: vipw: /etc/pw.KaK119: Read-only file system

Because you don't have your filesystems mounted. Prior to that,
the root file system is mounted read-only, which is why the above
message.

Enter the following commands:

/sbin/fsck -p
/sbin/mount -a

and then you can run vipw. (Leaving off the /sbin will work if the
PATH variable is set up correctly.)


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?86lkua$7dn$1>