<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl" media="all"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
      <title>Keyboard meet head
      </title>
        <link>https://kmh.prasil.info</link>
        <description>RSS feed for tag capsh</description>
        <generator>Zola</generator>
        <language>en</language>
        <atom:link href="https://kmh.prasil.info/tag/capsh/rss.xml" rel="self" type="application/rss+xml"/>
        <lastBuildDate>Tue, 19 Mar 2024 00:00:00 +0000</lastBuildDate>
        <item>
            <title>Sudo just a bit</title>
            <pubDate>Tue, 19 Mar 2024 00:00:00 +0000</pubDate>
            <link>https://kmh.prasil.info/posts/sudo-just-a-bit/</link>
            <guid>https://kmh.prasil.info/posts/sudo-just-a-bit/</guid>
            <description>&lt;p&gt;The &lt;a href=&quot;https:&#x2F;&#x2F;www.sudo.ws&#x2F;docs&#x2F;man&#x2F;sudo.man&#x2F;&quot;&gt;man page&lt;&#x2F;a&gt; says that &lt;em&gt;sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy&lt;&#x2F;em&gt;. However most of the sudo use that I&#x27;ve seen&#x2F;done is really a privilege escalation with switched user being just a consequence of that. Even the &lt;a href=&quot;https:&#x2F;&#x2F;xkcd.com&#x2F;149&#x2F;&quot;&gt;famous XKCD 🥪&lt;&#x2F;a&gt; webcomic shows sudo being used in this way. Most of the time this small difference does not really matter, but sometimes it&#x27;s really inconvenient.&lt;&#x2F;p&gt;
&lt;p&gt;This is mostly a note I&#x27;ve written for my self so that I can quickly recall how to &lt;code&gt;sudo&lt;&#x2F;code&gt; when I really only want to &lt;code&gt;do&lt;&#x2F;code&gt; something without the &lt;a href=&quot;https:&#x2F;&#x2F;www.mankier.com&#x2F;1&#x2F;su&quot;&gt;&lt;code&gt;su&lt;&#x2F;code&gt; part&lt;&#x2F;a&gt;. Let&#x27;s have a look at another less popular  but sometimes quite a bit more appropriate option.&lt;&#x2F;p&gt;
</description>
        </item>
    </channel>
</rss>
