<?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: Change expert user in Spark Firewall (SMB)</title>
    <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Change-expert-user/m-p/254300#M12998</link>
    <description>&lt;P&gt;For what is worth, here is AI explanatiion.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;*************************&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="0" data-end="299"&gt;You're raising a very common and important question about &lt;STRONG data-start="58" data-end="84"&gt;expert mode management&lt;/STRONG&gt; on &lt;STRONG data-start="88" data-end="136"&gt;locally managed Check Point 1570R appliances&lt;/STRONG&gt; running Gaia Embedded (R81.10.17). Here's a clear explanation of the behavior you're seeing and how to transition &lt;STRONG data-start="251" data-end="268"&gt;expert access&lt;/STRONG&gt; from &lt;STRONG data-start="274" data-end="284"&gt;User A&lt;/STRONG&gt; to &lt;STRONG data-start="288" data-end="298"&gt;User B&lt;/STRONG&gt;:&lt;/P&gt;
&lt;HR data-start="301" data-end="304" /&gt;
&lt;H2 data-start="306" data-end="386"&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Key Concepts of Expert Mode in Locally Managed SMB Appliances (e.g., 1570R)&lt;/H2&gt;
&lt;OL data-start="388" data-end="1065"&gt;
&lt;LI data-start="388" data-end="637"&gt;
&lt;P data-start="391" data-end="637"&gt;&lt;STRONG data-start="391" data-end="425"&gt;Expert Mode Password is Global&lt;/STRONG&gt;: Unlike Gaia OS on centrally managed systems, in &lt;STRONG data-start="475" data-end="509"&gt;locally managed SMB appliances&lt;/STRONG&gt;, the &lt;STRONG data-start="515" data-end="575"&gt;expert password is not linked to a specific user account&lt;/STRONG&gt;. It is a global password shared across users with CLI access.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="639" data-end="839"&gt;
&lt;P data-start="642" data-end="839"&gt;&lt;STRONG data-start="642" data-end="686"&gt;But Entry into Expert Mode is Restricted&lt;/STRONG&gt;: Only users with appropriate permissions (&lt;CODE data-start="729" data-end="736"&gt;admin&lt;/CODE&gt;, &lt;CODE data-start="738" data-end="749"&gt;cli-admin&lt;/CODE&gt;) can enter expert mode — and they &lt;STRONG data-start="784" data-end="823"&gt;must use the global expert password&lt;/STRONG&gt; set previously.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="841" data-end="1065"&gt;
&lt;P data-start="844" data-end="1065"&gt;&lt;STRONG data-start="844" data-end="862"&gt;Common Pitfall&lt;/STRONG&gt;: If a new user (e.g., User B) is created after the expert password is set, and &lt;STRONG data-start="942" data-end="980"&gt;doesn't have the proper privileges&lt;/STRONG&gt;, even if the expert password is correct, the user won't be allowed into expert mode.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;HR data-start="1067" data-end="1070" /&gt;
&lt;H2 data-start="1072" data-end="1118"&gt;&lt;span class="lia-unicode-emoji" title=":magnifying_glass_tilted_left:"&gt;🔍&lt;/span&gt; Explanation of the Problem You're Seeing&lt;/H2&gt;
&lt;UL data-start="1120" data-end="1485"&gt;
&lt;LI data-start="1120" data-end="1188"&gt;
&lt;P data-start="1122" data-end="1188"&gt;&lt;STRONG data-start="1122" data-end="1132"&gt;User A&lt;/STRONG&gt; had set the expert password while logged in as himself.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1189" data-end="1485"&gt;
&lt;P data-start="1191" data-end="1229"&gt;&lt;STRONG data-start="1191" data-end="1201"&gt;User B&lt;/STRONG&gt; tries to use &lt;CODE data-start="1215" data-end="1223"&gt;expert&lt;/CODE&gt;, but:&lt;/P&gt;
&lt;UL data-start="1232" data-end="1485"&gt;
&lt;LI data-start="1232" data-end="1330"&gt;
&lt;P data-start="1234" data-end="1330"&gt;&lt;CODE data-start="1234" data-end="1259"&gt;expert password not set&lt;/CODE&gt;: This may appear if User B is lacking the correct privileges or shell.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1333" data-end="1485"&gt;
&lt;P data-start="1335" data-end="1485"&gt;&lt;CODE data-start="1335" data-end="1361"&gt;incorrect login password&lt;/CODE&gt;: This can happen if User B has the right permissions but the shell is misconfigured or environment is not correctly set up.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="1487" data-end="1629"&gt;No, the expert password is &lt;STRONG data-start="1514" data-end="1545"&gt;not tied to a specific user&lt;/STRONG&gt; — &lt;STRONG data-start="1548" data-end="1598"&gt;but user permissions and shell must be correct&lt;/STRONG&gt; for that user to use &lt;CODE data-start="1620" data-end="1628"&gt;expert&lt;/CODE&gt;.&lt;/P&gt;
&lt;HR data-start="1631" data-end="1634" /&gt;
&lt;H2 data-start="1636" data-end="1659"&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; What You Should Do&lt;/H2&gt;
&lt;H3 data-start="1661" data-end="1709"&gt;Step 1: Ensure User B Has Proper Permissions&lt;/H3&gt;
&lt;P data-start="1711" data-end="1790"&gt;Check and adjust the permissions of User B to allow CLI access and expert mode:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl"&gt;sh&lt;/DIV&gt;
&lt;DIV class="sticky top-9"&gt;
&lt;DIV class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;
&lt;DIV class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"&gt;&lt;BUTTON class="flex gap-1 items-center select-none py-1" aria-label="Copy"&gt;Copy&lt;/BUTTON&gt;&lt;SPAN class="" data-state="closed"&gt;&lt;BUTTON class="flex items-center gap-1 py-1 select-none"&gt;Edit&lt;/BUTTON&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-sh"&gt;&lt;SPAN&gt;&lt;SPAN class="hljs-comment"&gt;# Log in as User A (who can still access expert mode)&lt;/SPAN&gt;
clish
show &lt;SPAN class="hljs-built_in"&gt;users&lt;/SPAN&gt;
&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="overflow-visible!" data-start="1792" data-end="1872"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P data-start="1874" data-end="1931"&gt;Look at the role of User B. You want something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl"&gt;sh&lt;/DIV&gt;
&lt;DIV class="sticky top-9"&gt;
&lt;DIV class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;
&lt;DIV class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"&gt;&lt;BUTTON class="flex gap-1 items-center select-none py-1" aria-label="Copy"&gt;Copy&lt;/BUTTON&gt;&lt;SPAN class="" data-state="closed"&gt;&lt;BUTTON class="flex items-center gap-1 py-1 select-none"&gt;Edit&lt;/BUTTON&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-sh"&gt;&lt;SPAN&gt;add user UserB uid 0 homedir /home/UserB shell /bin/bash
&lt;SPAN class="hljs-built_in"&gt;set&lt;/SPAN&gt; user UserB password
&lt;SPAN class="hljs-built_in"&gt;set&lt;/SPAN&gt; user UserB role admin
&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="overflow-visible!" data-start="1933" data-end="2049"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;UL data-start="2051" data-end="2202"&gt;
&lt;LI data-start="2051" data-end="2148"&gt;
&lt;P data-start="2053" data-end="2148"&gt;Make sure shell is &lt;STRONG data-start="2072" data-end="2087"&gt;&lt;CODE data-start="2074" data-end="2085"&gt;/bin/bash&lt;/CODE&gt;&lt;/STRONG&gt; (or &lt;CODE data-start="2092" data-end="2105"&gt;/etc/cli.sh&lt;/CODE&gt; for SMB appliances depending on firmware).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2149" data-end="2202"&gt;
&lt;P data-start="2151" data-end="2202"&gt;Ensure the role is &lt;STRONG data-start="2170" data-end="2181"&gt;&lt;CODE data-start="2172" data-end="2179"&gt;admin&lt;/CODE&gt;&lt;/STRONG&gt; or &lt;STRONG data-start="2185" data-end="2201"&gt;&lt;CODE data-start="2187" data-end="2199"&gt;super-user&lt;/CODE&gt;&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="2204" data-end="2311"&gt;You may need to delete and recreate User B if the role/shell are incorrect and cannot be modified directly.&lt;/P&gt;
&lt;H3 data-start="2313" data-end="2355"&gt;Step 2: Test Expert Access with User B&lt;/H3&gt;
&lt;P data-start="2357" data-end="2385"&gt;Now login as User B and run:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl"&gt;sh&lt;/DIV&gt;
&lt;DIV class="sticky top-9"&gt;
&lt;DIV class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;
&lt;DIV class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"&gt;&lt;BUTTON class="flex gap-1 items-center select-none py-1" aria-label="Copy"&gt;Copy&lt;/BUTTON&gt;&lt;SPAN class="" data-state="closed"&gt;&lt;BUTTON class="flex items-center gap-1 py-1 select-none"&gt;Edit&lt;/BUTTON&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-sh"&gt;&lt;SPAN&gt;expert
&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="overflow-visible!" data-start="2387" data-end="2403"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P data-start="2405" data-end="2538"&gt;When prompted, enter the &lt;STRONG data-start="2430" data-end="2458"&gt;existing expert password&lt;/STRONG&gt; that was set by User A. It should succeed if permissions and shell are correct.&lt;/P&gt;
&lt;H3 data-start="2540" data-end="2589"&gt;Step 3: Change the Expert Password (Optional)&lt;/H3&gt;
&lt;P data-start="2591" data-end="2665"&gt;If User B now has access to expert mode, he can reset the expert password:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl"&gt;sh&lt;/DIV&gt;
&lt;DIV class="sticky top-9"&gt;
&lt;DIV class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;
&lt;DIV class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"&gt;&lt;BUTTON class="flex gap-1 items-center select-none py-1" aria-label="Copy"&gt;Copy&lt;/BUTTON&gt;&lt;SPAN class="" data-state="closed"&gt;&lt;BUTTON class="flex items-center gap-1 py-1 select-none"&gt;Edit&lt;/BUTTON&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-sh"&gt;&lt;SPAN&gt;&lt;SPAN class="hljs-built_in"&gt;set&lt;/SPAN&gt; expert-password
&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="overflow-visible!" data-start="2667" data-end="2696"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P data-start="2698" data-end="2801"&gt;This will prompt for a new expert password. From now on, this will be the global password for &lt;CODE data-start="2792" data-end="2800"&gt;expert&lt;/CODE&gt;.&lt;/P&gt;
&lt;H3 data-start="2803" data-end="2828"&gt;Step 4: Delete User A&lt;/H3&gt;
&lt;P data-start="2830" data-end="2894"&gt;Once you're sure everything works, you can safely remove User A:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl"&gt;sh&lt;/DIV&gt;
&lt;DIV class="sticky top-9"&gt;
&lt;DIV class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;
&lt;DIV class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"&gt;&lt;BUTTON class="flex gap-1 items-center select-none py-1" aria-label="Copy"&gt;Copy&lt;/BUTTON&gt;&lt;SPAN class="" data-state="closed"&gt;&lt;BUTTON class="flex items-center gap-1 py-1 select-none"&gt;Edit&lt;/BUTTON&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-sh"&gt;&lt;SPAN&gt;delete user UserA
&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE class="overflow-visible!" data-start="2896" data-end="2923"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;HR data-start="2925" data-end="2928" /&gt;
&lt;H2 data-start="2930" data-end="2942"&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Summary&lt;/H2&gt;
&lt;DIV class="_tableContainer_16hzy_1"&gt;
&lt;DIV class="_tableWrapper_16hzy_14 group flex w-fit flex-col-reverse" tabindex="-1"&gt;
&lt;TABLE class="w-fit min-w-(--thread-content-width)" data-start="2944" data-end="3491"&gt;
&lt;THEAD data-start="2944" data-end="3022"&gt;
&lt;TR data-start="2944" data-end="3022"&gt;
&lt;TH data-start="2944" data-end="2977" data-col-size="sm"&gt;Task&lt;/TH&gt;
&lt;TH data-start="2977" data-end="3022" data-col-size="sm"&gt;Command/Action&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY data-start="3102" data-end="3491"&gt;
&lt;TR data-start="3102" data-end="3179"&gt;
&lt;TD data-start="3102" data-end="3135" data-col-size="sm"&gt;Ensure User B has admin role&lt;/TD&gt;
&lt;TD data-col-size="sm" data-start="3135" data-end="3179"&gt;&lt;CODE data-start="3137" data-end="3164"&gt;set user UserB role admin&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR data-start="3180" data-end="3257"&gt;
&lt;TD data-start="3180" data-end="3213" data-col-size="sm"&gt;Set shell to /bin/bash&lt;/TD&gt;
&lt;TD data-col-size="sm" data-start="3213" data-end="3257"&gt;&lt;CODE data-start="3215" data-end="3247"&gt;set user UserB shell /bin/bash&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR data-start="3258" data-end="3335"&gt;
&lt;TD data-start="3258" data-end="3291" data-col-size="sm"&gt;Test expert login&lt;/TD&gt;
&lt;TD data-col-size="sm" data-start="3291" data-end="3335"&gt;Log in as User B, run &lt;CODE data-start="3315" data-end="3323"&gt;expert&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR data-start="3336" data-end="3413"&gt;
&lt;TD data-start="3336" data-end="3369" data-col-size="sm"&gt;Change expert password&lt;/TD&gt;
&lt;TD data-col-size="sm" data-start="3369" data-end="3413"&gt;Inside expert mode: &lt;CODE data-start="3391" data-end="3412"&gt;set expert-password&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR data-start="3414" data-end="3491"&gt;
&lt;TD data-start="3414" data-end="3447" data-col-size="sm"&gt;Delete old admin account&lt;/TD&gt;
&lt;TD data-col-size="sm" data-start="3447" data-end="3491"&gt;&lt;CODE data-start="3449" data-end="3468"&gt;delete user UserA&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 31 Jul 2025 01:50:40 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2025-07-31T01:50:40Z</dc:date>
    <item>
      <title>Change expert user</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Change-expert-user/m-p/254086#M12990</link>
      <description>&lt;P&gt;Dear Checkpoint Checkmates,&lt;/P&gt;&lt;P&gt;I have a Checkpoint 1570R security appliance. It is running Gaia 81.10.17. The firewall is locally managed. Let us say User A is expert mode and he has set expert password. Now User A has left the organisation. He has given me the password and I am able to log in to his account and even enter expert mode. However, I want to&lt;/P&gt;&lt;P&gt;1. Change expert user to User B who is now in charge of administring the firewall&lt;/P&gt;&lt;P&gt;2. Delete User A account after verifying that User B is able to login to expert mode.&lt;/P&gt;&lt;P&gt;I have tried to login the firewall with User B login and do a expert set-password, but it fails with expert password not set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also if I Login with User B and enter expert password set by User A, I get an incorrent login password error. Is it the expected behaviour? Is expert login linked to account which was used to set the expert password?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2025 12:23:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Change-expert-user/m-p/254086#M12990</guid>
      <dc:creator>vaibhavyagnik</dc:creator>
      <dc:date>2025-07-28T12:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change expert user</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Change-expert-user/m-p/254223#M12991</link>
      <description>&lt;P&gt;The expert mode password is not tied to a specific user.&lt;BR /&gt;You may need to consult with TAC here.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 22:29:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Change-expert-user/m-p/254223#M12991</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2025-07-29T22:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change expert user</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Change-expert-user/m-p/254271#M12995</link>
      <description>&lt;P&gt;No it isnt, expert mode password is independant of the users password.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 14:55:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Change-expert-user/m-p/254271#M12995</guid>
      <dc:creator>Steffen_Appel</dc:creator>
      <dc:date>2025-07-30T14:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change expert user</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Change-expert-user/m-p/254300#M12998</link>
      <description>&lt;P&gt;For what is worth, here is AI explanatiion.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;*************************&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="0" data-end="299"&gt;You're raising a very common and important question about &lt;STRONG data-start="58" data-end="84"&gt;expert mode management&lt;/STRONG&gt; on &lt;STRONG data-start="88" data-end="136"&gt;locally managed Check Point 1570R appliances&lt;/STRONG&gt; running Gaia Embedded (R81.10.17). Here's a clear explanation of the behavior you're seeing and how to transition &lt;STRONG data-start="251" data-end="268"&gt;expert access&lt;/STRONG&gt; from &lt;STRONG data-start="274" data-end="284"&gt;User A&lt;/STRONG&gt; to &lt;STRONG data-start="288" data-end="298"&gt;User B&lt;/STRONG&gt;:&lt;/P&gt;
&lt;HR data-start="301" data-end="304" /&gt;
&lt;H2 data-start="306" data-end="386"&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Key Concepts of Expert Mode in Locally Managed SMB Appliances (e.g., 1570R)&lt;/H2&gt;
&lt;OL data-start="388" data-end="1065"&gt;
&lt;LI data-start="388" data-end="637"&gt;
&lt;P data-start="391" data-end="637"&gt;&lt;STRONG data-start="391" data-end="425"&gt;Expert Mode Password is Global&lt;/STRONG&gt;: Unlike Gaia OS on centrally managed systems, in &lt;STRONG data-start="475" data-end="509"&gt;locally managed SMB appliances&lt;/STRONG&gt;, the &lt;STRONG data-start="515" data-end="575"&gt;expert password is not linked to a specific user account&lt;/STRONG&gt;. It is a global password shared across users with CLI access.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="639" data-end="839"&gt;
&lt;P data-start="642" data-end="839"&gt;&lt;STRONG data-start="642" data-end="686"&gt;But Entry into Expert Mode is Restricted&lt;/STRONG&gt;: Only users with appropriate permissions (&lt;CODE data-start="729" data-end="736"&gt;admin&lt;/CODE&gt;, &lt;CODE data-start="738" data-end="749"&gt;cli-admin&lt;/CODE&gt;) can enter expert mode — and they &lt;STRONG data-start="784" data-end="823"&gt;must use the global expert password&lt;/STRONG&gt; set previously.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="841" data-end="1065"&gt;
&lt;P data-start="844" data-end="1065"&gt;&lt;STRONG data-start="844" data-end="862"&gt;Common Pitfall&lt;/STRONG&gt;: If a new user (e.g., User B) is created after the expert password is set, and &lt;STRONG data-start="942" data-end="980"&gt;doesn't have the proper privileges&lt;/STRONG&gt;, even if the expert password is correct, the user won't be allowed into expert mode.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;HR data-start="1067" data-end="1070" /&gt;
&lt;H2 data-start="1072" data-end="1118"&gt;&lt;span class="lia-unicode-emoji" title=":magnifying_glass_tilted_left:"&gt;🔍&lt;/span&gt; Explanation of the Problem You're Seeing&lt;/H2&gt;
&lt;UL data-start="1120" data-end="1485"&gt;
&lt;LI data-start="1120" data-end="1188"&gt;
&lt;P data-start="1122" data-end="1188"&gt;&lt;STRONG data-start="1122" data-end="1132"&gt;User A&lt;/STRONG&gt; had set the expert password while logged in as himself.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1189" data-end="1485"&gt;
&lt;P data-start="1191" data-end="1229"&gt;&lt;STRONG data-start="1191" data-end="1201"&gt;User B&lt;/STRONG&gt; tries to use &lt;CODE data-start="1215" data-end="1223"&gt;expert&lt;/CODE&gt;, but:&lt;/P&gt;
&lt;UL data-start="1232" data-end="1485"&gt;
&lt;LI data-start="1232" data-end="1330"&gt;
&lt;P data-start="1234" data-end="1330"&gt;&lt;CODE data-start="1234" data-end="1259"&gt;expert password not set&lt;/CODE&gt;: This may appear if User B is lacking the correct privileges or shell.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1333" data-end="1485"&gt;
&lt;P data-start="1335" data-end="1485"&gt;&lt;CODE data-start="1335" data-end="1361"&gt;incorrect login password&lt;/CODE&gt;: This can happen if User B has the right permissions but the shell is misconfigured or environment is not correctly set up.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="1487" data-end="1629"&gt;No, the expert password is &lt;STRONG data-start="1514" data-end="1545"&gt;not tied to a specific user&lt;/STRONG&gt; — &lt;STRONG data-start="1548" data-end="1598"&gt;but user permissions and shell must be correct&lt;/STRONG&gt; for that user to use &lt;CODE data-start="1620" data-end="1628"&gt;expert&lt;/CODE&gt;.&lt;/P&gt;
&lt;HR data-start="1631" data-end="1634" /&gt;
&lt;H2 data-start="1636" data-end="1659"&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; What You Should Do&lt;/H2&gt;
&lt;H3 data-start="1661" data-end="1709"&gt;Step 1: Ensure User B Has Proper Permissions&lt;/H3&gt;
&lt;P data-start="1711" data-end="1790"&gt;Check and adjust the permissions of User B to allow CLI access and expert mode:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl"&gt;sh&lt;/DIV&gt;
&lt;DIV class="sticky top-9"&gt;
&lt;DIV class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;
&lt;DIV class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"&gt;&lt;BUTTON class="flex gap-1 items-center select-none py-1" aria-label="Copy"&gt;Copy&lt;/BUTTON&gt;&lt;SPAN class="" data-state="closed"&gt;&lt;BUTTON class="flex items-center gap-1 py-1 select-none"&gt;Edit&lt;/BUTTON&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-sh"&gt;&lt;SPAN&gt;&lt;SPAN class="hljs-comment"&gt;# Log in as User A (who can still access expert mode)&lt;/SPAN&gt;
clish
show &lt;SPAN class="hljs-built_in"&gt;users&lt;/SPAN&gt;
&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="overflow-visible!" data-start="1792" data-end="1872"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P data-start="1874" data-end="1931"&gt;Look at the role of User B. You want something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl"&gt;sh&lt;/DIV&gt;
&lt;DIV class="sticky top-9"&gt;
&lt;DIV class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;
&lt;DIV class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"&gt;&lt;BUTTON class="flex gap-1 items-center select-none py-1" aria-label="Copy"&gt;Copy&lt;/BUTTON&gt;&lt;SPAN class="" data-state="closed"&gt;&lt;BUTTON class="flex items-center gap-1 py-1 select-none"&gt;Edit&lt;/BUTTON&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-sh"&gt;&lt;SPAN&gt;add user UserB uid 0 homedir /home/UserB shell /bin/bash
&lt;SPAN class="hljs-built_in"&gt;set&lt;/SPAN&gt; user UserB password
&lt;SPAN class="hljs-built_in"&gt;set&lt;/SPAN&gt; user UserB role admin
&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="overflow-visible!" data-start="1933" data-end="2049"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;UL data-start="2051" data-end="2202"&gt;
&lt;LI data-start="2051" data-end="2148"&gt;
&lt;P data-start="2053" data-end="2148"&gt;Make sure shell is &lt;STRONG data-start="2072" data-end="2087"&gt;&lt;CODE data-start="2074" data-end="2085"&gt;/bin/bash&lt;/CODE&gt;&lt;/STRONG&gt; (or &lt;CODE data-start="2092" data-end="2105"&gt;/etc/cli.sh&lt;/CODE&gt; for SMB appliances depending on firmware).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2149" data-end="2202"&gt;
&lt;P data-start="2151" data-end="2202"&gt;Ensure the role is &lt;STRONG data-start="2170" data-end="2181"&gt;&lt;CODE data-start="2172" data-end="2179"&gt;admin&lt;/CODE&gt;&lt;/STRONG&gt; or &lt;STRONG data-start="2185" data-end="2201"&gt;&lt;CODE data-start="2187" data-end="2199"&gt;super-user&lt;/CODE&gt;&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="2204" data-end="2311"&gt;You may need to delete and recreate User B if the role/shell are incorrect and cannot be modified directly.&lt;/P&gt;
&lt;H3 data-start="2313" data-end="2355"&gt;Step 2: Test Expert Access with User B&lt;/H3&gt;
&lt;P data-start="2357" data-end="2385"&gt;Now login as User B and run:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl"&gt;sh&lt;/DIV&gt;
&lt;DIV class="sticky top-9"&gt;
&lt;DIV class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;
&lt;DIV class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"&gt;&lt;BUTTON class="flex gap-1 items-center select-none py-1" aria-label="Copy"&gt;Copy&lt;/BUTTON&gt;&lt;SPAN class="" data-state="closed"&gt;&lt;BUTTON class="flex items-center gap-1 py-1 select-none"&gt;Edit&lt;/BUTTON&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-sh"&gt;&lt;SPAN&gt;expert
&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="overflow-visible!" data-start="2387" data-end="2403"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P data-start="2405" data-end="2538"&gt;When prompted, enter the &lt;STRONG data-start="2430" data-end="2458"&gt;existing expert password&lt;/STRONG&gt; that was set by User A. It should succeed if permissions and shell are correct.&lt;/P&gt;
&lt;H3 data-start="2540" data-end="2589"&gt;Step 3: Change the Expert Password (Optional)&lt;/H3&gt;
&lt;P data-start="2591" data-end="2665"&gt;If User B now has access to expert mode, he can reset the expert password:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl"&gt;sh&lt;/DIV&gt;
&lt;DIV class="sticky top-9"&gt;
&lt;DIV class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;
&lt;DIV class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"&gt;&lt;BUTTON class="flex gap-1 items-center select-none py-1" aria-label="Copy"&gt;Copy&lt;/BUTTON&gt;&lt;SPAN class="" data-state="closed"&gt;&lt;BUTTON class="flex items-center gap-1 py-1 select-none"&gt;Edit&lt;/BUTTON&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-sh"&gt;&lt;SPAN&gt;&lt;SPAN class="hljs-built_in"&gt;set&lt;/SPAN&gt; expert-password
&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="overflow-visible!" data-start="2667" data-end="2696"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P data-start="2698" data-end="2801"&gt;This will prompt for a new expert password. From now on, this will be the global password for &lt;CODE data-start="2792" data-end="2800"&gt;expert&lt;/CODE&gt;.&lt;/P&gt;
&lt;H3 data-start="2803" data-end="2828"&gt;Step 4: Delete User A&lt;/H3&gt;
&lt;P data-start="2830" data-end="2894"&gt;Once you're sure everything works, you can safely remove User A:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary select-none rounded-t-2xl"&gt;sh&lt;/DIV&gt;
&lt;DIV class="sticky top-9"&gt;
&lt;DIV class="absolute end-0 bottom-0 flex h-9 items-center pe-2"&gt;
&lt;DIV class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"&gt;&lt;BUTTON class="flex gap-1 items-center select-none py-1" aria-label="Copy"&gt;Copy&lt;/BUTTON&gt;&lt;SPAN class="" data-state="closed"&gt;&lt;BUTTON class="flex items-center gap-1 py-1 select-none"&gt;Edit&lt;/BUTTON&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-sh"&gt;&lt;SPAN&gt;delete user UserA
&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE class="overflow-visible!" data-start="2896" data-end="2923"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;HR data-start="2925" data-end="2928" /&gt;
&lt;H2 data-start="2930" data-end="2942"&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Summary&lt;/H2&gt;
&lt;DIV class="_tableContainer_16hzy_1"&gt;
&lt;DIV class="_tableWrapper_16hzy_14 group flex w-fit flex-col-reverse" tabindex="-1"&gt;
&lt;TABLE class="w-fit min-w-(--thread-content-width)" data-start="2944" data-end="3491"&gt;
&lt;THEAD data-start="2944" data-end="3022"&gt;
&lt;TR data-start="2944" data-end="3022"&gt;
&lt;TH data-start="2944" data-end="2977" data-col-size="sm"&gt;Task&lt;/TH&gt;
&lt;TH data-start="2977" data-end="3022" data-col-size="sm"&gt;Command/Action&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY data-start="3102" data-end="3491"&gt;
&lt;TR data-start="3102" data-end="3179"&gt;
&lt;TD data-start="3102" data-end="3135" data-col-size="sm"&gt;Ensure User B has admin role&lt;/TD&gt;
&lt;TD data-col-size="sm" data-start="3135" data-end="3179"&gt;&lt;CODE data-start="3137" data-end="3164"&gt;set user UserB role admin&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR data-start="3180" data-end="3257"&gt;
&lt;TD data-start="3180" data-end="3213" data-col-size="sm"&gt;Set shell to /bin/bash&lt;/TD&gt;
&lt;TD data-col-size="sm" data-start="3213" data-end="3257"&gt;&lt;CODE data-start="3215" data-end="3247"&gt;set user UserB shell /bin/bash&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR data-start="3258" data-end="3335"&gt;
&lt;TD data-start="3258" data-end="3291" data-col-size="sm"&gt;Test expert login&lt;/TD&gt;
&lt;TD data-col-size="sm" data-start="3291" data-end="3335"&gt;Log in as User B, run &lt;CODE data-start="3315" data-end="3323"&gt;expert&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR data-start="3336" data-end="3413"&gt;
&lt;TD data-start="3336" data-end="3369" data-col-size="sm"&gt;Change expert password&lt;/TD&gt;
&lt;TD data-col-size="sm" data-start="3369" data-end="3413"&gt;Inside expert mode: &lt;CODE data-start="3391" data-end="3412"&gt;set expert-password&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR data-start="3414" data-end="3491"&gt;
&lt;TD data-start="3414" data-end="3447" data-col-size="sm"&gt;Delete old admin account&lt;/TD&gt;
&lt;TD data-col-size="sm" data-start="3447" data-end="3491"&gt;&lt;CODE data-start="3449" data-end="3468"&gt;delete user UserA&lt;/CODE&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 31 Jul 2025 01:50:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Change-expert-user/m-p/254300#M12998</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-07-31T01:50:40Z</dc:date>
    </item>
  </channel>
</rss>

