search cancel

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.

Environment

Release: 20.2

Component: PERFORMANCE MANAGEMENT

Cause

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

Resolution

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