TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Sudon't

10 点作者 vitplister大约 1 年前

3 条评论

eternityforest大约 1 年前
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.
simonblack大约 1 年前
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.
arittr大约 1 年前
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