Date: Thu, 14 Jul 2005 11:26:44 +0200 From: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de> To: Rick Preston <rickjpreston@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: How to reset root passwd FreeBSdD4.7 Message-ID: <42D62FD4.2000501@cs.tu-berlin.de> In-Reply-To: <c4d7bf49050713183620c29e48@mail.gmail.com> References: <42D58447.9090600@chamkila.org> <20050713213708.GA32730@mezzo.htnsrv.org> <c4d7bf49050713183620c29e48@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42D62FD4.2000501>