PAN OS 10.2.3-h4 Issue SSH CLI disconnect after user AD auth success

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

PAN OS 10.2.3-h4 Issue SSH CLI disconnect after user AD auth success

L2 Linker

Anyone facing the same issue like us, PAN OS 10.2.3-h4, SSH CLI session got disconnected after we login as user AD auth (User Authentication Successful). Is it bug not yet reported?

1 accepted solution

Accepted Solutions

L5 Sessionator

Hello Yoekleng,

 

There is a limitation in 10.2 where for security reasons centos have disallowed usernames with numbers only and PANOS depends on that Centos functionality to store usernames for authorization purposes. -->> "Fully numeric usernames and usernames . or .. are also disallowed" is the CentOS behavior change by https://www.webconn.tech/kb/are-all-numeric-usernames-allowed-in-almalinux-8:

 

Usernames may contain only lower and upper case letters, digits, underscores, or dashes. They can end with a dollar sign. Dashes are not allowed at the beginning of the username. Fully numeric usernames and usernames. or .. are also disallowed. It is not recommended to use usernames beginning with. character as their home directories will be hidden in the ls output. In regular expression terms: [a-zA-Z0-9_.][a-zA-Z0-9_.-]*[$]? -->> There are good reasons to enforce it:

 

https://unix.stackexchange.com/questions/287077/why-cant-linux-usernames-begin-with-numbers

 

So this behavior is per design and functionality. --

 

>>WORKAROUND: We can add a symbol along with letters to the numbers the Admin Username then works. For example, 12345676890_A

View solution in original post

3 REPLIES 3

L5 Sessionator

Hello Yoekleng,

 

There is a limitation in 10.2 where for security reasons centos have disallowed usernames with numbers only and PANOS depends on that Centos functionality to store usernames for authorization purposes. -->> "Fully numeric usernames and usernames . or .. are also disallowed" is the CentOS behavior change by https://www.webconn.tech/kb/are-all-numeric-usernames-allowed-in-almalinux-8:

 

Usernames may contain only lower and upper case letters, digits, underscores, or dashes. They can end with a dollar sign. Dashes are not allowed at the beginning of the username. Fully numeric usernames and usernames. or .. are also disallowed. It is not recommended to use usernames beginning with. character as their home directories will be hidden in the ls output. In regular expression terms: [a-zA-Z0-9_.][a-zA-Z0-9_.-]*[$]? -->> There are good reasons to enforce it:

 

https://unix.stackexchange.com/questions/287077/why-cant-linux-usernames-begin-with-numbers

 

So this behavior is per design and functionality. --

 

>>WORKAROUND: We can add a symbol along with letters to the numbers the Admin Username then works. For example, 12345676890_A

Hi,

 

If we downgrade to 10.1.x, will it work ? please let me know.

 

Regards,

 

Hi Bharath,

 

You can try and test at your end. However, It is not recommended to downgrade since the latest release fixed a bug and vulnerabilities.

 

Best Regards,

Yoekleng.

  • 1 accepted solution
  • 1372 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!