Loading...
Loading...
Running authc_configure.sh script gets stuck and when press enter number of times it fails with message: User nsrtomcat does not have read permission at path /nsr/authc/conf As per Article Number: 000044255 created a script and it also gets stuck and when press enter number of times it fails with same error confirming the issue is at operating system level and has nothing to do with NetWorker. [root@hostname ]# cat check_nsrtomcat.sh command="[ -r /nsr/authc ]" su - nsrtomcat -s /bin/sh -c "$command" > /dev/null 2>&1 if [ $? -ne 0 ] then echo "ERROR: User nsrtomcat does not have read permission at path /nsr/authc" fi [root@hostname ]# ./check_nsrtomcat.sh ERROR: User nsrtomcat does not have read permission at path /nsr/authc From root user prompt tried to switch to user nsrtomcat and realized it is prompting for password. [root@hostname ]# su - nsrtomcat Last failed login: Tue Oct 25 05:42:28 CDT 2022 on pts/0 There were 5 failed login attempts since the last successful login. This account is currently not available. [root@hostname]#
Ordering in PAM sudo file which makes switching to different user from root user prompt requesting for password.
Below solution should be performed by Linux admin after knowing/understanding the effects of the changes.Changing ordering in PAM sudo file so from root user prompt if changed to different user it will not ask for password.1. Create a copy of the origingal /etc/pam.d/su file: [root@hostname ]# cd /etc/pam.d [root@hostname pam.d]# cp su su.orig 2. Edit the file /etc/pam.d/su so that "auth sufficient pam_rootok.so" is reordered. Below shows file contents before editing. [root@hostname pam.d]# cat su #%PAM-1.0 auth required pam_wheel.so use_uid authrequiredpam_env.so auth sufficient pam_wheel.so trust use_uid auth sufficient pam_rootok.so # Uncomment the following line to implicitly trust users in the "wheel" group. #authsufficientpam_wheel.so trust use_uid # Uncomment the following line to require a user to be in the "wheel" group. #authrequiredpam_wheel.so use_uid authsubstacksystem-auth auth include system-auth authincludepostlogin accountsufficientpam_succeed_if.so uid = 0 use_uid quiet accountincludesystem-auth passwordincludesystem-auth sessionincludesystem-auth sessionincludepostlogin sessionoptionalpam_xauth.so Below shows file contents after reordering. [root@hostname pam.d]# cat su #%PAM-1.0 auth sufficient pam_rootok.so auth required pam_wheel.so use_uid authrequiredpam_env.so auth sufficient pam_wheel.so trust use_uid # Uncomment the following line to implicitly trust users in the "wheel" group. #authsufficientpam_wheel.so trust use_uid # Uncomment the following line to require a user to be in the "wheel" group. #authrequiredpam_wheel.so use_uid authsubstacksystem-auth auth include system-auth authincludepostlogin accountsufficientpam_succeed_if.so uid = 0 use_uid quiet accountincludesystem-auth passwordincludesystem-auth sessionincludesystem-auth sessionincludepostlogin sessionoptionalpam_xauth.so 3. Rerun the authc_configure.sh and it ends successfully with message "The installation completed successfully.”
Click on a version to see all relevant bugs
Dell Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.