<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: login shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088068#M144178</link>
    <description>Hi Oliver,&lt;BR /&gt; &lt;BR /&gt;The default shell is defined in the last (7th) field of the users entry in the /etc/passwd file.&lt;BR /&gt;You can use vipw to safely edit the passwd file or use SAM to modify the user.&lt;BR /&gt; &lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
    <pubDate>Wed, 08 Oct 2003 08:29:02 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2003-10-08T08:29:02Z</dc:date>
    <item>
      <title>login shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088067#M144177</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;how can I define the default startup shell of a user. I saw that it is possible when I create a new user with sam. How can I do it afterwards?&lt;BR /&gt;&lt;BR /&gt;Can I define every shell installed?&lt;BR /&gt;&lt;BR /&gt;Thanks ,&lt;BR /&gt;&lt;BR /&gt;Oliver</description>
      <pubDate>Wed, 08 Oct 2003 08:26:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088067#M144177</guid>
      <dc:creator>Oliver Schmitz</dc:creator>
      <dc:date>2003-10-08T08:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: login shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088068#M144178</link>
      <description>Hi Oliver,&lt;BR /&gt; &lt;BR /&gt;The default shell is defined in the last (7th) field of the users entry in the /etc/passwd file.&lt;BR /&gt;You can use vipw to safely edit the passwd file or use SAM to modify the user.&lt;BR /&gt; &lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 08 Oct 2003 08:29:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088068#M144178</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-10-08T08:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: login shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088069#M144179</link>
      <description>Oliver,&lt;BR /&gt; &lt;BR /&gt;As you've noted, you can do it in SAM when adding the user.  You can also do so with "useradd -s" when adding the user.  To change the shell afterward, the easiest way would be to use vi (or perhaps sed) on the /etc/passwd file.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Pete&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 08 Oct 2003 08:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088069#M144179</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-10-08T08:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: login shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088070#M144180</link>
      <description>Oliver&lt;BR /&gt;&lt;BR /&gt;it is defined by the last field in /etc/passwd. You can use any shell.&lt;BR /&gt;You can use any shell, can also use a script that is run upon login...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
      <pubDate>Wed, 08 Oct 2003 08:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088070#M144180</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2003-10-08T08:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: login shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088071#M144181</link>
      <description>Oliver,&lt;BR /&gt; &lt;BR /&gt;One other thought:  If you're going to be changing shells, make sure the shell you've chosen is listed in /etc/shells.  If you don't have /etc/shells, create it and add the shell to it.  Here is a basic /etc/shells:&lt;BR /&gt; &lt;BR /&gt;$ more /etc/shells&lt;BR /&gt;/bin/sh&lt;BR /&gt;/bin/rsh&lt;BR /&gt;/bin/ksh&lt;BR /&gt;/bin/rksh&lt;BR /&gt;/bin/csh&lt;BR /&gt;/bin/pam&lt;BR /&gt;/usr/bin/keysh&lt;BR /&gt;/bin/posix/sh&lt;BR /&gt;/sbin/sh&lt;BR /&gt;/usr/bin/sh&lt;BR /&gt;/usr/bin/rsh&lt;BR /&gt;/usr/bin/ksh&lt;BR /&gt;/usr/bin/rksh&lt;BR /&gt;/usr/bin/csh&lt;BR /&gt;/usr/bin/keys&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Pete&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 08 Oct 2003 08:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088071#M144181</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-10-08T08:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: login shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088072#M144182</link>
      <description>Oliver,&lt;BR /&gt;The 7 column corresponds to the shell which is invoked when the login successfully completes authentication.&lt;BR /&gt;/usr/bin/sh is the default shell.  You can choose also /usr/bin/ksh.&lt;BR /&gt;&lt;BR /&gt;When adding users through SAM you can see this option.&lt;BR /&gt;&lt;BR /&gt;If you want to change that for a particular user&lt;BR /&gt;usermod -s &lt;NEW_SHELL_PATH&gt; &lt;USERNAME&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy&lt;/USERNAME&gt;&lt;/NEW_SHELL_PATH&gt;</description>
      <pubDate>Wed, 08 Oct 2003 08:35:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088072#M144182</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-10-08T08:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: login shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088073#M144183</link>
      <description>One thing to note if you do change users' shells --- *DO NOT EVER* change the default shell for root.  It *MUST* be /sbin/sh.  If it is anything else you rish an unbootable server.</description>
      <pubDate>Wed, 08 Oct 2003 08:53:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-shell/m-p/3088073#M144183</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-10-08T08:53:01Z</dc:date>
    </item>
  </channel>
</rss>

