Useradd to server app03

Hello

I have tasked to add a new user ‘ammar’ to ‘app03’, which I did. However, the task has a Failed status.

Here is the screenshot;

Any feedback would be appreciated!

Regards

Hi Adam

You have to create a user with non-interactive shell.

Hi

Yes, that what I did.

If I check ‘cat /etc/passwd’ there is no bash specified.

Regards

useradd -s /sbin/nologin ammar

Then check : /etc/passwd

Hi Team can you please check. I have created the non intrective user but its giving error.

image