Bootstrap script can not be updated using webUI when PAM is enabled

This document (000020627) is provided subject to the disclaimer at the end of this document.


SUSE Manager 4.2 Server
SUSE Manager 4.1 Server


When PAM is enabled on top of SUSE Manager Server.
# cat /etc/pam.d/susemanager
auth     include        common-auth
account  include        common-account
password include        common-password
session  include        common-session

# cat /etc/rhn/rhn.conf
pam_auth_service = susemanager
An error message can occur when bootstrap script is updated using web-UI. Following messages can be seen in: 
2022-02-07T14:22:27.027172+00:00 systemhostname sudo: pam_access(sudo:account): access denied for user `tomcat' from `'
2022-02-07T14:22:27.030401+00:00 systemhostname sudo: pam_sss(sudo:account): Access denied for user tomcat: 10 (User not known to the underlying authentication module)
2022-02-07T14:22:27.030660+00:00 systemhostname sudo: tomcat : PAM account management error: Permission denied ; PWD=/usr/share/tomcat ; USER=root ; COMMAND=/usr/bin/rhn-bootstrap --hostname=systemhostname --ssl-cert=/srv/www/htdocs/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm

2022-02-07 14:19:23,454 [ajp-nio-0:0:0:0:0:0:0:1-8009-exec-20] ERROR com.redhat.rhn.manager.satellite.SystemCommandExecutor - Error encountered executing (args=[/usr/bin/sudo, /usr/bin/rhn-bootstrap, --hostname=systemhostname, --ssl-cert=/srv/www/htdocs/pub/rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm])
2022-02-07 14:19:23,454 [ajp-nio-0:0:0:0:0:0:0:1-8009-exec-20] ERROR com.redhat.rhn.manager.satellite.SystemCommandExecutor - Error message from process: sudo: PAM account management error: Permission denied sudo: a password is required
The bootstrap script can be updated correctly by running `mgr-bootstrap` on top of SUSE Manager Server.


Add the following in `/etc/security/access.conf` to grant access to the "tomcat" user:


It might be also needed to create a sudoers drop-in file. Add the following to `/etc/sudoers.d/01_tomcat`

tomcat ALL = NOPASSWD: /usr/bin/rhn-bootstrap


The "tomcat" user is not allowed in `/etc/security/access.conf` file.

Additional Information

An example of `/etc/security/access.conf`
This means:
  • all the users in the first line starting with '+' are allowed in
  • user "user03" is allowed in but only from localhost
  • ALL other users are NOT allowed


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020627
  • Creation Date: 06-Apr-2022
  • Modified Date:06-Apr-2022
    • SUSE Manager Server
    • SUSE Manager

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact:

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center