How to reset root passwd FreeBSdD4.7
mwm at mired.org
Thu Jul 14 13:21:58 GMT 2005
In <200507132203.j6DM3LRd020116 at fire.jhs.private>, Julian H. Stacey <jhs at flat.berklix.net> typed:
> Amandeep wrote:
> > Hi all,
> First, please do Not cross post, we have a rule about that !
> ... so I dropped cc freebsd-questions at freebsd.org,
> > Is there a way to reset the root passwd without reinstalling FreeBSD 4.7.
> > Thanks in advance
> > Aman
> passwd root
Except you have to know the root password for that to work.
> [ Except maybe ]
> Various things get crippled now, in the name of avoiding
> `shooting self in the foot' accidents by neophytes. So maybe
> if you're running at a higher kernel security level you
> might need to turn that off. Don't know how though, I never
> cripple my root access. (& similarly hate eg fdisk -a being
> similarly crippled by sysctl, in the same name of neophyte
> foot shooting prevention )
I always looked at that as a security feature, not a neophyte
protection feature. I turn it on for my goats.
Mike Meyer <mwm at mired.org> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
More information about the freebsd-hackers