On Thu, 2014-06-26 at 14:03 +0200, Jean-Christophe Dubacq wrote: > [ ⏰ 26/06/2014 12:05 ] [ ✎ Svante Signell ] > > On Thu, 2014-06-26 at 11:59 +0200, Ansgar Burchardt wrote: > >> On 06/26/2014 11:34, Thorsten Glaser wrote: > >>>> No, it didn't work. You had to be root for operations as simple as > >>>> shutting down the computer. > >>> > >>> Only on Debian. OpenBSD and MirBSD have: > >>> > >>> -r-sr-x--- 1 root operator 122716 Sep 10 2013 /sbin/shutdown* > >>> > >>> I never understood why Debian doesn't. > >> > >> Google says the operator group also has (read) access to raw disk devices. > > > > What about creating a unique group then, e.g. calling it it shutdown? > > So that students can do eg ssh mybuddymachine /sbin/shutdown ?
Of course with the additional check that the students are logged in to that box locally, did I forget to mention that? Another point is of course is that if you are locally connected to your/somebody else's computer nothing is hindering you from pushing the on/off button or pull the plug (except physically). Is shutting off a computer really a problem, normally multi-available ones are always on? -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1403786016.14272.51.ca...@s1499.it.kth.se