<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Osx-Terminal on ngmarley.com</title><link>https://ngmarley.com/blog/tag/osx-terminal/</link><description>Recent content in Osx-Terminal on ngmarley.com</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 21 May 2012 00:00:00 +0000</lastBuildDate><atom:link href="https://ngmarley.com/blog/tag/osx-terminal/index.xml" rel="self" type="application/rss+xml"/><item><title>OSX - How to change the root user's shell.</title><link>https://ngmarley.com/blog/osx-change-root-shell/</link><pubDate>Mon, 21 May 2012 00:00:00 +0000</pubDate><guid>https://ngmarley.com/blog/osx-change-root-shell/</guid><description>&lt;p&gt;Or the default shell of any user for that matter. I don&amp;rsquo;t know if this is recommended or not, but changing from /bin/sh to /bin/bash will enable tab-completion, and since I&amp;rsquo;m a lazy admin that&amp;rsquo;s what I&amp;rsquo;ll do. (Plus, less keystrokes = longer hardware life for my keyboard.)&lt;/p&gt;&#10;&lt;p&gt;This command will display the user&amp;rsquo;s default shell (replace root with desired username):&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;rivendell:~ root# dscl . -read /Users/root UserShell&lt;/code&gt;&lt;/p&gt;&#10;&lt;p&gt;Now change the shell (in this case to /bin/bash):&lt;/p&gt;</description></item></channel></rss>