ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Are bash shells required for mysql and consul users on the NetOps Portal system?

book

Article ID: 212915

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration

Issue/Introduction

Are interactive shells required for mysql and consul users on the NetOps Portal system?  We are looking to change the users to use /sbin/nologin instead of /bin/bash.

Cause

The users are created via generic useradd call.  This utilizes the default shell as configured in the OS.

Environment

Release: 20.2

Component: PERFORMANCE MANAGEMENT

Resolution

Yes, you can modify the users and change their shell to the nologin shell to prevent an interactive login.