News for hackers. Stuff that matters.
Re:Sudo Replacement by arp242 on Friday January 20, 2023 @06:05PM (#34461401)
I just always login as root. No sudo or other programs needed, no security vulnerabilities, no complexity. Clearly the most secure solution as it's widely known that using the setuid bit is a security problem.
Re:Sudo Replacement by megous on Friday January 20, 2023 @07:01PM (#34462044)
Yes, OTOH I don't mind others using sudo or setuid root permissions. I once hacked a payment terminal because someone thought it would be a good idea to put setuid root on pppd :) (we needed to do a bit more than the official SDK api allowed us)
Re:Sudo Replacement by imglorp on Friday January 20, 2023 @07:26PM (#34462279)
Maybe not for yourself, but sudo can be a benefit when playing with others: fine grained roles and permissions, audit trail, etc.
Re:Sudo Replacement by arp242 on Friday January 20, 2023 @08:13PM (#34462639)
Yes, I was joking.

Or "woosh", as I believe the kids say these days.

Re:Sudo Replacement by w-ll on Friday January 20, 2023 @10:27PM (#34463571)
we actually have ascii character pattern for that when posting.

/s

Re:Sudo Replacement by arp242 on Friday January 20, 2023 @10:34PM (#34463610)
Ah yes, because every joke becomes better when you announce that it's a joke.
Re:Sudo Replacement by scajanus on Saturday January 21, 2023 @03:04AM (#34464769)
You forgot the /s again.
Re:Sudo Replacement by dgb23 on Saturday January 21, 2023 @04:01AM (#34464998)
I dislike it too. It’s typically unnecessary on hn because it’s well moderated and people often seem nice even when passionately disagreeing.

But on the wider internet everyone assumes you’re stupid. So the “/s” becomes a safety measure.

Also read once that it’s an accessibility thing. But I’m not sure if that’s true.

Re:Sudo Replacement by arp242 on Saturday January 21, 2023 @12:37PM (#34468207)
Usually the majority gets it. And the worst that can happen is that some people will downvote you, or call you an idiot. I'm not especially concerned about this.

I don't see how it's an accessibility issue, except to help out those with a deficient sense of humour.

Re:Sudo Replacement by uglycoyote on Saturday January 21, 2023 @01:43PM (#34468948)
regarding accessibility..from what I have heard, other cultures have much different styles of sarcasm which might impede their ability to understand that something you have said is sarcastic. e.g. Japan is known to have a reputation of not understanding American sarcasm, but has it's own style of sarcasm. (see https://linguaholic.com/linguablog/sarcasm-in-japanese/)

so, I guess announcing your sarcasm makes sense in an international accessibility sense, particularly when some of the normal cues are not present (tone of voice, facial expression, eyes rolling)

Re:Sudo Replacement by arp242 on Saturday January 21, 2023 @03:59PM (#34470460)
Ah right.

Communicating across cultures is always bound to lead to the occasional misunderstanding, even more so over text. When writing something "dry" such as documentation it's probably a good idea to keep that in mind, but making jokes worse just so that a few more people can perhaps maybe possibly understand it is where I draw the line.

Re:Sudo Replacement by saurik on Friday January 20, 2023 @11:26PM (#34463891)
You have probably already lost at that point, though: if you want true security, you have to go it alone.