Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2005 14:22:12 -0400
From:      Marty Landman <MLandman@face2interface.com>
To:        Joshua Tinnin <krinklyfig@spymac.com>, freebsd-questions@freebsd.org
Subject:   Re: lost root passwd
Message-ID:  <6.2.0.14.0.20050416140511.03b295f0@mail.face2interface.com>
In-Reply-To: <200504161035.55854.krinklyfig@spymac.com>
References:  <6.2.0.14.0.20050225125247.02e6d948@mail.face2interface.com> <20050227182510.GB44504@osiris.chen.org.nz> <6.2.0.14.0.20050416124420.03a0bed0@mail.face2interface.com> <200504161035.55854.krinklyfig@spymac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 01:35 PM 4/16/2005, Joshua Tinnin wrote:

First, I've been warned about 5.2 before. Thing is a while back I asked a 
neighbor with broadband for a solid and he generously d/l'd the lastest 
stable fbsd for me. I have another box running 4.8 from the mini-iso. I 
don't want to ask him again, so if 5.2 is going to inadvisable may convert 
this box over to either 4.8 too, or possibly Debian Woody for which I also 
have a mini-iso but that old box is no longer... though its old cdrom lives 
on in my dell workstation. :)

>% sysctl kern.securelevel
>
>If it's anything but -1

No, it is -1 even from my wheel user id -- not root.

>Did you do
>
># mount -u /
># passwd root

Joshua, when I do the 'mount -u /' get back

WARNING: R/W mount of / denied. Filesystem is not clean - run fsck
mount: /dev/ad-s1a: Operation not permitted

>Here's some info about PAM:
>http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/pam-config.html

I'm using /etc/pam.d rather than /etc/pam.conf, fwiw. However 
everything  (the pam.d directory and all files within it) are writeable 
only by root, so don't see how that's going to help.

Marty


Marty Landman, Face 2 Interface Inc. 845-679-9387
Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml
Web Installed Formmail: http://face2interface.com/formINSTal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.0.14.0.20050416140511.03b295f0>