Create a Linux User with non-interactive shell!

ive ssh ed into the app1 and created a user
but it says the task is failed
it says

  • user ‘jim’ does not have non-interactive shell on stapp01

can some one help me

• useradd username -s /sbin/nologin

and they are asking you to create user with non-interactive shell but you created user with interactive shell

1 Like

Thank you Roopal mishra for the help .