Re: Root priviledges needed to poweroff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 26 Jul 2012, ergodic wrote:

Karel your philosophy is correct.  I have seen this issue when my grandchildren complained that they could not turn of their box after it was was upgraded to F-17.  That is why I filed Bug 843299.

Manny

While I understand the reasoning made by Karel, I have to say, that the message preventing user to poweroff saved me a lot of times work I was doing on their workstation remotely.

The bug you've submitted I understand is saying the /usr/bin/reboot should ask or warn if someone else is logged in (!), else reboot immediately, but /usr/sbin/reboot should reboot without asking, if you have sufficient permissions, which is not the case when you invoke it as a user - that's why system asks for authentication. I'd say this a bit different thing to what we are talking here about.

Adam Pribyl

----- Original Message -----
Dne St 25. července 2012 11:46:51, Adam Williamson napsal(a):
I just tested on two F17 machines and running 'reboot' as a
regular user happily reboots the system even if root is logged
in at VT2, no warning or authentication required. That does
seem to make the 'protection' on the graphical reboot button a
bit pointless, but meh.

ahem, any such "protection" is pointless and in fact contraproductive as long as the user is able to pull out the AC cord (or the battery in case of laptops) (or use sysreq magic)

warning? - good idea, and it should be more sophisticated to be helpful when asking others to save the work and logout (or identifying what is running and who runs it)

authentication? - no, as it may prevent the user from shutting down the system gracefully

K.

--
Karel Volný
QE BaseOs/Daemons Team
Red Hat Czech, Brno
tel. +420 532294274
(RH: +420 532294111 ext. 8262074)
xmpp kavol@xxxxxxxxx
:: "Never attribute to malice what can
::  easily be explained by stupidity."
--
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test
--
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test

Odchozi zprava neobsahuje viry, protoze nebyla odeslana z Windows.
Otestovano zdarma a legalne na OS Linux.
(Proc pouzivat Linux - http://proc.linux.cz/).
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux