Re: lost root passwd

2005-04-18 Thread Matthew Seaman
On Sat, Apr 16, 2005 at 07:56:01PM +0200, Danny Pansters wrote: mount -a will not re-mount an already mounted filesystem only those in fstab that are not mounted yet. Actually, while that used to be the case, mount -a nowadays will remount a filesystem with the flags specified in /etc/fstab.

lost root passwd

2005-04-16 Thread Marty Landman
I have a relatively new 5.2 installation and have forgotten the root pw, although I can log on as a member of group wheel. Not sure how to fix this situation. 1. /etc/master.passwd has perm's of 0600 so afaik can't change this except as root 2. rebooting from the installation CD then

Re: lost root passwd

2005-04-16 Thread Richard Collyer
Marty Landman wrote: I have a relatively new 5.2 installation and have forgotten the root pw, although I can log on as a member of group wheel. Not sure how to fix this situation. 1. /etc/master.passwd has perm's of 0600 so afaik can't change this except as root 2. rebooting from the

Re: lost root passwd

2005-04-16 Thread Hexren
I have a relatively new 5.2 installation and have forgotten the root pw, although I can log on as a member of group wheel. Not sure how to fix this situation. 1. /etc/master.passwd has perm's of 0600 so afaik can't change this except as root 2. rebooting from the installation CD

Re: lost root passwd

2005-04-16 Thread Joshua Tinnin
On Sat 16 Apr 05 09:57, Marty Landman [EMAIL PROTECTED] wrote: I have a relatively new 5.2 installation You should probably install 5.3-RELEASE if at all possible, or 4.11-RELEASE (though 6.x is soon to be the STABLE branch). 5.2 is no longer supported, and it wasn't a production release. 5.3

Re: lost root passwd

2005-04-16 Thread Danny Pansters
On Saturday 16 April 2005 19:35, Joshua Tinnin wrote: On Sat 16 Apr 05 09:57, Marty Landman [EMAIL PROTECTED] snip 3. rebooting into single user mode from the HD, after entering # mount -t ufs -a Did you do # mount -u / ? This is the problem, in SU mode the / partition gets

Re: lost root passwd

2005-04-16 Thread Marty Landman
At 01:09 PM 4/16/2005, Richard Collyer wrote: Marty Landman wrote: I have a relatively new 5.2 installation and have forgotten the root pw, although I can log on as a member of group wheel. Not sure how to fix this situation. 1. /etc/master.passwd has perm's of 0600 so afaik can't change this

Re: lost root passwd

2005-04-16 Thread Marty Landman
At 01:10 PM 4/16/2005, Hexren wrote: Have you tried not vipw in order to directly manipulate the /etc/master.passwd file ? I don't get this... I've tried editing /etc/master.passwd, but since the permissions are 0600 afaik there's no way for me to change it. Marty Marty Landman, Face 2 Interface

Re: lost root passwd

2005-04-16 Thread Glenn Dawson
At 10:35 AM 4/16/2005, Joshua Tinnin wrote: You should probably install 5.3-RELEASE if at all possible, or 4.11-RELEASE (though 6.x is soon to be the STABLE branch). Considering that 5.x was just recently declared stable and no release of 6.x is even scheduled (see

Re: lost root passwd

2005-04-16 Thread Marty Landman
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

Re: lost root passwd

2005-04-16 Thread Joshua Tinnin
On Sat 16 Apr 05 11:05, Glenn Dawson [EMAIL PROTECTED] wrote: At 10:35 AM 4/16/2005, Joshua Tinnin wrote: You should probably install 5.3-RELEASE if at all possible, or 4.11-RELEASE (though 6.x is soon to be the STABLE branch). Considering that 5.x was just recently declared stable and no

Re: lost root passwd

2005-04-16 Thread Joshua Tinnin
On Sat 16 Apr 05 11:22, Marty Landman [EMAIL PROTECTED] wrote: 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

Re: lost root passwd

2005-04-16 Thread Marty Landman
At 03:02 PM 4/16/2005, Joshua Tinnin wrote: 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 Make sure to run that command before you mount any other fs, like right after you fsck -p -

Re: lost root passwd

2005-04-16 Thread Joshua Tinnin
On Sat 16 Apr 05 12:31, Marty Landman [EMAIL PROTECTED] wrote: At 03:02 PM 4/16/2005, Joshua Tinnin wrote: 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 Make sure to run

Re: lost root passwd

2005-04-16 Thread Joshua Tinnin
On Sat 16 Apr 05 11:51, Joshua Tinnin [EMAIL PROTECTED] wrote: On Sat 16 Apr 05 11:05, Glenn Dawson [EMAIL PROTECTED] wrote: At 10:35 AM 4/16/2005, Joshua Tinnin wrote: You should probably install 5.3-RELEASE if at all possible, or 4.11-RELEASE (though 6.x is soon to be the STABLE branch).

lost root passwd

2005-04-16 Thread Benjamin Rossen
Marty I think the problem you are having comes because you must boot your machine in single-user mode to make this work. Then: # mount -u / # mount /usr # passed root You shall then be prompted as follows; Enter new password: enter password Enter new password again: enter password #^D

Fwd: lost root passwd

2005-04-16 Thread Benjamin Rossen
Sorry... typo # mount -u / # mount /usr # passwd root -- Forwarded Message -- Subject: lost root passwd Date: Sunday 17 April 2005 00:45 From: Benjamin Rossen [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Marty I think the problem you are having comes because you

Re: lost root passwd

2005-04-16 Thread Marty Landman
At 06:45 PM 4/16/2005, Benjamin Rossen wrote: I think the problem you are having comes because you must boot your machine in single-user mode to make this work. Then: # mount -u / # mount /usr # passed root Hi Benjamin. Joshua's earlier advice to do # fsck -p # mount -u / # mount -a -t ufs prior

Re: lost root passwd

2005-04-16 Thread Michael C. Shultz
On Saturday 16 April 2005 03:00 pm, Joshua Tinnin wrote: On Sat 16 Apr 05 11:51, Joshua Tinnin [EMAIL PROTECTED] wrote: On Sat 16 Apr 05 11:05, Glenn Dawson [EMAIL PROTECTED] wrote: At 10:35 AM 4/16/2005, Joshua Tinnin wrote: You should probably install 5.3-RELEASE if at all possible, or