How to reset root passwd FreeBSdD4.7

Björn König bkoenig at cs.tu-berlin.de
Thu Jul 14 09:27:10 GMT 2005


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


More information about the freebsd-questions mailing list