-
Notifications
You must be signed in to change notification settings - Fork 1.3k
PAM authentication issue #14745
Replies: 5 comments · 17 replies
-
How |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi Below is the output :
The user is apart of the frrvty group as well shown in my initial comment. Also I prefer not giving sudo access to this user to fix, the user account is used for my looking glass. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Ok, so I have done the above and after looking at the diagnostics comparing accessing the vtysh shell from root compared to the non-root user, this was the only difference I could find - Still looking further to what is possibly causing the problem : ROOT
NON-ROOT
Additionally, I've added that user to the sudo group and I still get the output when entering vtysh, however if I use "sudo vtysh" the error doesn't happen. I've tried to replicate this on another box and I get the same output, so I suspect its something to do with version 9.0.1 these boxes were previously on 8.1 and didn't have this problem, only after update. Will keep you updated if I find anything. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Can you show the full strace output |
Beta Was this translation helpful? Give feedback.
All reactions
-
sorry for the late response, please see below :
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Is this called by root user or not? |
Beta Was this translation helpful? Give feedback.
All reactions
-
apologies, that is the root output, here is the non-root output :
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Hello, Have you been able to find a problem here? |
Beta Was this translation helpful? Give feedback.
All reactions
-
Can you show |
Beta Was this translation helpful? Give feedback.
All reactions
-
***@***.***:~# ls -la /var/run
lrwxrwxrwx 1 root root 4 May 7 2021 /var/run -> /run
…On Mon, 15 Jan 2024 at 09:40, Donatas Abraitis ***@***.***> wrote:
Can you show ls -la /var/run?
—
Reply to this email directly, view it on GitHub
<#14745 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AODUOE377E2HJEQCDVHKGJDYOTMO3AVCNFSM6AAAAAA7DAPNVGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DCMRZHA3DI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Here you go :
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Can you do this for example |
Beta Was this translation helpful? Give feedback.
All reactions
-
this is very strange i've also included the output of
i also get the same output from the root user :
|
Beta Was this translation helpful? Give feedback.
All reactions
-
@dkay-zaxxx check this PR #15163. Basically, just change |
Beta Was this translation helpful? Give feedback.
All reactions
-
thank you. I can confirm that the fix works |
Beta Was this translation helpful? Give feedback.
All reactions
-
Correct fix is to replace Unfortunately, fixing this correctly in packages will be … some effort to make sure we don't break setups. |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
Beta Was this translation helpful? Give feedback.
All reactions
-
in other words, why do we need |
Beta Was this translation helpful? Give feedback.
All reactions
This discussion was converted from issue #14740 on November 07, 2023 15:04.
-
Hello
Below are the details of the system running FRR :
FRR - 9.0.1
OS - Debian 11 (bullseye)
KERNEL - 5.10.0-26-amd64
When trying to access vtysh via a non-root user we get the following error, upon successfully accessing the vtysh shell :
I'm able to get into the tty just fine, just curious to why this vtysh_pam: Failed in account validation: Permission denied(6) is being displayed. The user that is accessing vtysh has the following permissions :
Prior to updating to 9.0.1 this wasn't the case, I've checked at various forums but cannot find any solutions for the above so I thought I'd bring it to your attention.
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions