When using Business Services Discovery to collect inventory data from Azure Linux systems, additional configuration is required to allow passwordless sudo access.
Why this matters
Azure Linux is centrally managed and includes security settings that can block privilege elevation.
Business Services Discovery requires sudo access without:
- A TTY session
- A password prompt
See Configuring SSH privilege elevation for details.
Background
Flexera provides sample configurations for enabling passwordless sudo by modifying the sudoers file.
These assume the sudoers.d directory is empty.
On Azure Linux, this directory includes a file named waagent, created by Azure to manage service accounts.
- The waagent file enforces password prompts for all service accounts.
- Because it’s stored in
sudoers.d, it overrides earlier sudoers entries based on lexical order.
To allow the Business Services Discovery account to elevate privileges without a password, its configuration must override the waagent file.
How to configure
- Open the sudoers directory (this directory is typically located under
/etc/on most Linux systems) - Create a new configuration file
- Name the file
zzz-Flexera(thezzzprefix ensures it loads afterwaagent). - Add your service account configuration in this file to allow passwordless
sudoaccess. - See the SSH configuration examples page for sample syntax.
- Name the file
The zzz-Flexera configuration file overrides the Azure waagent settings, allowing the Business Services Discovery service account to elevate privileges without requiring a password. This ensures successful Linux discovery on Azure environments.
Related Articles
What commands are executed through "sudo" on Linux/Unix zero touch inventory? 12Number of Views Linux Credentials - Sudo Requirement 11Number of Views Linux Agent shouldn't need Sudo or Root permissions for all actions 8Number of Views Enabling logging on Flexera Business Adapter Studio 36Number of Views Where do I see the Azure/AWS Discovery results in Snow License Manager Web Portal? 33Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago