TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Sudon't

10 pointsby vitplisterabout 1 year ago

3 comments

eternityforestabout 1 year ago
Sudo is fine for single user workstations, but that&#x27;s an excellent point about logging into the wrong machine.<p>Since most machines are single user, what&#x27;s about a variant of passwordless sudo, where you type the name of the machine you&#x27;re on instead of a password?<p>When is multi user actually used these days? I don&#x27;t do a lot of cloud work, so I only ever see it in the form of different systems users, and some of that could be replaced with stronger per binary permissions like AppArmor.<p>I&#x27;d imagine on database servers or something with different levels of access, but I&#x27;m guessing most of those accounts wouldn&#x27;t have sudo.
simonblackabout 1 year ago
I dislike sudo as it becomes unwieldy for piped CLI commands. Because every &#x27;verb&#x27; needs its own &#x27;sudo&#x27;, or else only some of the commands in the pipe get executed properly.<p>I prefer to use a special color-coded window for an actual root login. That &#x27;root&#x27; xterm differs from my usual black-on-white xterm windows to being a white-on-black xterm.
arittrabout 1 year ago
Definitely my first time hearing about <a href="https:&#x2F;&#x2F;manpages.debian.org&#x2F;stretch&#x2F;chiark-really&#x2F;really.8.en.html" rel="nofollow">https:&#x2F;&#x2F;manpages.debian.org&#x2F;stretch&#x2F;chiark-really&#x2F;really.8.e...</a> - just a great command name right there