Skip to main content
aspace
New Member
August 7, 2026
Question

Issue with the "SSH Auto-Password" option in FortiPAM for Ubuntu Server 26.04

  • August 7, 2026
  • 5 replies
  • 119 views

Hello. I have some Ubuntu 26.04 servers configured in FortiPAM. When I set up Web-SSH access, I enable the "SSH auto-password" option so that FortiPAM can pass the password when I connect and need to run a "sudo" command. The problem is that with this version of Ubuntu, FortiPAM does not pass the password.

5 replies

Stephen_G
Staff & Editor
Staff & Editor
August 11, 2026

Hi aspace,

Thank you for using our forums. We’ll look to get you an answer or help.

In the meantime, if anybody else has any suggestions, please feel free to contribute.

Stephen_G - Fortinet Community Team
Stephen_G
Staff & Editor
Staff & Editor
August 13, 2026

Hi aspace,

We are still looking to get you an answer or help. We will reply to this thread once we find some.

Stephen_G - Fortinet Community Team
shikhakolekar
Staff
Staff
August 20, 2026

Hello ​@aspace ,

It would be helpful to review the target being used in this setup. Could you confirm whether you are using the default target template, or a custom target template? If a custom template is configured, the issue may be related to the template settings.

To investigate further, please collect the following debug logs while reproducing the issue:

 

diag debug reset

diag debug console timestamp enable

diag wad debug enable category auth

diag wad debug enable category secret

diag wad debug enable category http

diag wad debug enable level verbose

diag debug enable

 

Thanks

aspace
aspaceAuthor
New Member
August 21, 2026
The template used is the standard "Unix Account (SSH Password)," and the "SSH Auto-Password" and "sudo prompt" options are selected for the secret. I have attached the debug log.
sisrayilov
Staff
August 20, 2026

Hello aspace,

Try to make the password field mandatory in the template and check with it. Additionally, try to use the associated secret credentials without password field being “required” but added to the template that you use in your UNIX/Linux secret.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!