Re: How to reset root passwd FreeBSdD4.7

2005-07-15 Thread Wilko Bulte
On Fri, Jul 15, 2005 at 11:45:04AM -0700, John-Mark Gurney wrote.. > Mike Meyer wrote this message on Thu, Jul 14, 2005 at 09:22 -0400: > > > passwd root > > > > Except you have to know the root password for that to work. > > root is never asked what the old password is... Why isn't this whole t

Re: How to reset root passwd FreeBSdD4.7

2005-07-15 Thread John-Mark Gurney
Mike Meyer wrote this message on Thu, Jul 14, 2005 at 09:22 -0400: > > passwd root > > Except you have to know the root password for that to work. root is never asked what the old password is... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do,

Re: How to reset root passwd FreeBSdD4.7

2005-07-15 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Julian H. Stacey <[EMAIL PROTECTED]> typed: > Amandeep wrote: > > Hi all, > > First, please do Not cross post, we have a rule about that ! > > ... so I dropped cc freebsd-questions@freebsd.org, > > > Is there a way to reset the root passwd without reinstalling FreeBSD 4.7

Re: How to reset root passwd FreeBSdD4.7

2005-07-15 Thread Dmitry Mityugov
On 7/15/05, Mike Meyer wrote: > In <[EMAIL PROTECTED]>, John Von Essen <[EMAIL PROTECTED]> typed: > > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). > > You an boot the second CD directly. Fixit Shell does not need the 2nd CD in FreeBSD 5.4 anymore. -- Dmitry "We live less by imagi

Re: How to reset root passwd FreeBSdD4.7

2005-07-15 Thread Vasil Dimov
On Fri, Jul 15, 2005 at 12:41:48PM +0300, Peter Pentchev wrote: > On Fri, Jul 15, 2005 at 09:44:35AM +0300, Vasil Dimov wrote: > > On Thu, Jul 14, 2005 at 09:55:16AM -0400, John Von Essen wrote: > > > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From there you > > > have to manually m

Re: How to reset root passwd FreeBSdD4.7

2005-07-15 Thread Peter Pentchev
On Fri, Jul 15, 2005 at 09:44:35AM +0300, Vasil Dimov wrote: > On Thu, Jul 14, 2005 at 09:55:16AM -0400, John Von Essen wrote: > > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From there you > > have to manually mount the / filesystem and edit passwd (just clear out > > the passwd, ro

Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread Vasil Dimov
On Thu, Jul 14, 2005 at 09:55:16AM -0400, John Von Essen wrote: > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From there you > have to manually mount the / filesystem and edit passwd (just clear out > the passwd, root::). However, do an fsck on the device first (you may have > to reb

Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread Mike Meyer
In <[EMAIL PROTECTED]>, John Von Essen <[EMAIL PROTECTED]> typed: > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). You an boot the second CD directly. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. _

Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread John Von Essen
Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From there you have to manually mount the / filesystem and edit passwd (just clear out the passwd, root::). However, do an fsck on the device first (you may have to reboot afterwards) since if you have any fragmentation following an unclean

Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread Julian H. Stacey
Amandeep wrote: > Hi all, First, please do Not cross post, we have a rule about that ! ... so I dropped cc freebsd-questions@freebsd.org, > Is there a way to reset the root passwd without reinstalling FreeBSD 4.7. > > Thanks in advance > > Aman passwd root [ Except maybe ] Various th

Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread stsp
On Thu, Jul 14, 2005 at 02:16:31PM +0400, Vyacheslav Sotnikov wrote: > but what to do if i have "console insecure" in /etc/ttys? In the linux world, you would simply boot a live cd like knoppix, open a root shell in the live system and chroot into your installed system to get root access witho

Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread Alex Zbyslaw
Vyacheslav Sotnikov wrote: but what to do if i have "consoleinsecure" in /etc/ttys? I believe you can Boot cdrom Pick "Change system manager's password" Type the new password. Worked fine from /stand/sysinstall, but you have to be root to do that from the command line :-) --Al

Re: How to reset root passwd FreeBSdD4.7

2005-07-14 Thread Vyacheslav Sotnikov
John Von Essen пишет: boot single user... mount -u / mount -a Then use vipw or passwd to clear out or change root password. If you shutdown the system un-cleanly, you may have to do an fsck / as fragmentation will prevent the filesystem from being mounted read-write-able. -john but what

Re: How to reset root passwd FreeBSdD4.7

2005-07-13 Thread John Von Essen
boot single user... mount -u / mount -a Then use vipw or passwd to clear out or change root password. If you shutdown the system un-cleanly, you may have to do an fsck / as fragmentation will prevent the filesystem from being mounted read-write-able. -john On Jul 13, 2005, at 5:51 PM, [EMA

Re: How to reset root passwd FreeBSdD4.7

2005-07-13 Thread estover
> Hi all, > > Is there a way to reset the root passwd without reinstalling FreeBSD 4.7. > > Thanks in advance > > Aman > > ___ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send an