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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.