How to reset root passwd FreeBSdD4.7

Aaron Peterson dopplecoder at gmail.com
Thu Jul 14 13:13:18 GMT 2005


On 7/14/05, Björn König <bkoenig at cs.tu-berlin.de> wrote:
> Rick Preston wrote:
> 
> > I was going to offer something more complicated, thanks for the tip.
> > I came to realize that both our ideas require shutting down the
> > system.  What would be the safest way to do that with out causing
> > potential damage to the system, without root access?
> 
> Turn it off. It's not safe, but the only way that I know unless you
> don't have a user that is member of the group 'operator'. These users
> are allowed to use the 'shutdown' command with root privileges:
> 
>  > ls -l /sbin/shutdown
> -r-sr-x---  1 root  operator  10148 Jul 11 14:12 /sbin/shutdown
> 
> Björn

I was under the impression that if you had physical access to the
console and a default init setup, ctrl-alt-delete would reboot even if
one wasn't logged in...  perhaps I'm mistaken though.


More information about the freebsd-questions mailing list