• 0 Posts
  • 8 Comments
Joined 11 months ago
cake
Cake day: June 27th, 2024

help-circle
  • Yes, Xorg being suid is stupid. That used to be needed due to several historical reasons, but is not any more.

    But for ‘su’ or ‘sudo’ suid is still the right mechanism to use. Capabilities won’t help, when the tool is supposed to give one full privileges. Of course, in some use cases no such command is needed, then the system can run with no suid. Similar functionality could be implemented without suid too (e.g. ssh to localhost), but with its own security implications, usually bigger than those brought but a mechanism as simple as suid (the KISS rule).






  • Most of the time, yes, but not always. Sometimes you actually need local time stored rather than UTC. Simple example: alarm clock. User wants to be waken up at 7:00. No matter if it is summer time or winter time. Even if they travels to a different time zone - still will want to be waken up in the morning. If we store this time as UTC much more unnecessary and error-prone conversions will be needed. Similar issues may arise with other calendar events. Of course, at some point this will be converted to UTC for comparison with actual point in time.