<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Chsh on Kenno&#39;s Open Note</title>
    <link>https://blog.khmersite.net/tags/chsh/</link>
    <description>Recent content in Chsh on Kenno&#39;s Open Note</description>
    <image>
      <title>Kenno&#39;s Open Note</title>
      <url>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.154.0</generator>
    <language>en</language>
    <lastBuildDate>Mon, 23 Jul 2018 21:35:11 +0000</lastBuildDate>
    <atom:link href="https://blog.khmersite.net/tags/chsh/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to change shell in Fedora</title>
      <link>https://blog.khmersite.net/p/how-to-change-shell-in-fedora/</link>
      <pubDate>Mon, 23 Jul 2018 21:35:11 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-change-shell-in-fedora/</guid>
      <description>&lt;p&gt;If your search engine take you to this page, chances are you get used to use &lt;code&gt;chsh&lt;/code&gt; to change user&amp;rsquo;s shell. On Fedora (28 at least), &lt;code&gt;chsh&lt;/code&gt; is not available by default. You can install &lt;code&gt;util-linux-user&lt;/code&gt; according to this &lt;a href=&#34;https://ask.fedoraproject.org/en/question/89601/chsh-command-is-missing-in-fedora-24-fresh-install/&#34;&gt;post&lt;/a&gt; to get the &lt;code&gt;chsh&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;However, there is another alternative which I didn&amp;rsquo;t even think of - use &lt;code&gt;usermod&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s how I did it to change to &lt;code&gt;zsh&lt;/code&gt; shell:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ sudo usermod -s /usr/bin/zsh kenno
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ getent passwd kenno
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kenno:x:1000:1000:Oh Kenno:/home/kenno:/usr/bin/zsh
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Just log out and log back in. That&amp;rsquo;s it.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
