<?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: Showing bash instead of name as Expert (When openning Expert Mode) in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148689#M24196</link>
    <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/181"&gt;@_Val_&lt;/a&gt;&amp;nbsp;is 100% right, as usual. You need to change the shell...so /bin/bash is to expert mode right away and /etc/cli.sh is regular shell.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2022 12:28:06 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2022-05-16T12:28:06Z</dc:date>
    <item>
      <title>Showing bash instead of name as Expert (When openning Expert Mode)</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148675#M24194</link>
      <description>&lt;P&gt;Hi Checkmates,&lt;/P&gt;&lt;P&gt;We able to see "bashxx" instead of "Expert with hostname".&lt;/P&gt;&lt;P&gt;In clish mode its showing as per the expectation &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Able to run Expert related command&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BASH_2.png" style="width: 925px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/16561i0A7A59A4C7481E63/image-size/large?v=v2&amp;amp;px=999" role="button" title="BASH_2.png" alt="BASH_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;1. For testing we change the shell to /bin/bash/ but no luck &lt;span class="lia-unicode-emoji" title=":thumbs_down:"&gt;👎&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Reboot is Pending for test but can't because its a live environment.&lt;/P&gt;&lt;P&gt;Please help if any one face&amp;nbsp; this kind of issue or anyone have any suggestion.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"/etc/passwd" of FW1 :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;admin:x:0:0::/home/admin:/bin/bash&lt;BR /&gt;monitor:x:102:100:Monitor:/home/monitor:/etc/cli.sh&lt;BR /&gt;root:x:0:0:root:/root:/sbin/nologin&lt;BR /&gt;nobody:x:99:99:Nobody:/:/sbin/nologin&lt;BR /&gt;postfix:x:1001:1001:Postfix:/home/postfix:/sbin/nologin&lt;BR /&gt;rpm:x:37:37::/var/lib/rpm:/sbin/nologin&lt;BR /&gt;shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown&lt;BR /&gt;pcap:x:77:77::/var/arpwatch:/sbin/nologin&lt;BR /&gt;halt:x:7:0:halt:/sbin:/sbin/halt&lt;BR /&gt;cp_postgres:x:1008:0:Postgres:/home/cp_postgres:/bin/sh&lt;BR /&gt;cp_extensions:x:8086:1:CP Extensions:/home/cp_extensions:/bin/sh&lt;BR /&gt;&lt;STRONG&gt;bsphcl:x:0:0:Bsphcl:/home/bsphcl/:/etc/cli.sh&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Additional Line which not available on FW2 which showing bash)&lt;/STRONG&gt;&lt;BR /&gt;cpep_user:x:1500:1500::/home/cpep_user:/sbin/nologin&lt;BR /&gt;vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin&lt;BR /&gt;_nonlocl:x:96:100:Non-local user:/home/_nonlocl:/etc/cli.sh&lt;BR /&gt;sshd:x:74:74:Privilege-separated:/var/empty/sshd:/sbin/nologin&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"/etc/passwd" of FW2 :&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;admin:x:0:0::/home/admin:/bin/bash&lt;BR /&gt;monitor:x:102:100:Monitor:/home/monitor:/etc/cli.sh&lt;BR /&gt;root:x:0:0:root:/root:/sbin/nologin&lt;BR /&gt;nobody:x:99:99:Nobody:/:/sbin/nologin&lt;BR /&gt;postfix:x:1001:1001:Postfix:/home/postfix:/sbin/nologin&lt;BR /&gt;rpm:x:37:37::/var/lib/rpm:/sbin/nologin&lt;BR /&gt;shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown&lt;BR /&gt;pcap:x:77:77::/var/arpwatch:/sbin/nologin&lt;BR /&gt;halt:x:7:0:halt:/sbin:/sbin/halt&lt;BR /&gt;cp_postgres:x:1008:0:Postgres:/home/cp_postgres:/bin/sh&lt;BR /&gt;cp_extensions:x:8086:1:CP Extensions:/home/cp_extensions:/bin/sh&lt;BR /&gt;cpep_user:x:1500:1500::/home/cpep_user:/sbin/nologin&lt;BR /&gt;vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin&lt;BR /&gt;_nonlocl:x:96:100:Non-local user:/home/_nonlocl:/etc/cli.sh&lt;BR /&gt;sshd:x:74:74:Privilege-separated:/var/empty/sshd:/sbin/nologin&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/25509"&gt;@Chinmaya_Naik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 09:57:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148675#M24194</guid>
      <dc:creator>Chinmaya_Naik</dc:creator>
      <dc:date>2022-05-16T09:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Showing bash instead of name as Expert (When openning Expert Mode)</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148685#M24195</link>
      <description>&lt;P&gt;Your admin shell is set to bash:&amp;nbsp;&lt;SPAN&gt;admin:x:0:0::/home/admin:/bin/bash, that's why.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Set to cli.sh, similar to "monitor" user. It is most probably was changed manually.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 11:43:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148685#M24195</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2022-05-16T11:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Showing bash instead of name as Expert (When openning Expert Mode)</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148689#M24196</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/181"&gt;@_Val_&lt;/a&gt;&amp;nbsp;is 100% right, as usual. You need to change the shell...so /bin/bash is to expert mode right away and /etc/cli.sh is regular shell.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 12:28:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148689#M24196</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2022-05-16T12:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Showing bash instead of name as Expert (When openning Expert Mode)</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148707#M24197</link>
      <description>&lt;P&gt;That's not the problem. The problem is the prompt is showing 'bash-4.4#', which happens when the /etc/bashrc isn't run for some reason.&lt;/P&gt;
&lt;P&gt;With the user's shell set to /bin/bash, BASH should be launched as an interactive shell and a login shell. Both of those should cause the /etc/bashrc to be run. When the user's shell is set to /etc/cli.sh and they elevate to expert, BASH is launched as an interactive shell (so /etc/bashrc still runs) but not a login shell. Since it clearly isn't working as expected, maybe /etc/bashrc isn't readable?&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 14:04:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148707#M24197</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2022-05-16T14:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Showing bash instead of name as Expert (When openning Expert Mode)</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148709#M24198</link>
      <description>&lt;P&gt;Did not know that, learned something new.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 14:14:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148709#M24198</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2022-05-16T14:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Showing bash instead of name as Expert (When openning Expert Mode)</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148734#M24199</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/27871"&gt;@Bob_Zimmerman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes correct explanation about my issue.&lt;/P&gt;&lt;P&gt;Only I need to know solution and the difference between them like Expert and bash name as per the screenshot.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/25509"&gt;@Chinmaya_Naik&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 17:16:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Showing-bash-instead-of-name-as-Expert-When-openning-Expert-Mode/m-p/148734#M24199</guid>
      <dc:creator>Chinmaya_Naik</dc:creator>
      <dc:date>2022-05-16T17:16:17Z</dc:date>
    </item>
  </channel>
</rss>

