Date: Tue, 15 Oct 2002 19:56:54 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Andreas Ntaflos <ant@overclockers.at> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: strange reboot, permissions of /sbin/reboot Message-ID: <20021016005654.GA26061@dan.emsphone.com> In-Reply-To: <20021015230553.GA30542@Deadcell.ant> References: <20021015230553.GA30542@Deadcell.ant>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 16), Andreas Ntaflos said: > Hello list, > Something strange just occured on a quite busy server running > FreeBSD 4.6-RC as of May 28. First, it seemed to have suddenly > rebooted, but not by a kernel trap or anything like it, the machine > has been up for over 120 days, running smoothly. We checked the > logs, seeing that it was rebooted by an ordinary user (all.log) > which comes quite strange to me. If a user logs in, su's to root, then runs reboot, the original login name will be recorded. > My questions are: what catches the execution of /sbin/reboot for > normal users and how could it happen that the normal user was not > caught in that case? Also, how come that the permissions on reboot > and shutdown are the way they are? The reboot binary checks to see if it is running as root, and if it isn't, it exits with an "Operation not permitted" error. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021016005654.GA26061>