How can I create non interactive user with ssh access on my RHEL server?

Solution Unverified - Updated -

Issue

  • I want to create user in linux with non-interactive shell but my requirement is that the same user should be able to login through ssh.
  • Is it possible to create a user with non-interactive shell but with ssh access enabled?

Environment

  • Red Hat Enterprise Linux
  • ssh

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content