Hello,
Fairly new here, and quite new to this in general. I was given the task to create a user siva, on app01, with a ‘non-interactive’ shell. This answer was incorrect, based on my reading from
- https://linux.die.net/man/8/adduser
- Are there non-interactive login shells? - Unix & Linux Stack Exchange
My answer is potentially valid, but if not would anyone be able to explain why?
This did fail, but I am more concerned with understanding the difference in solution when compared to invoking the same commands instead with /sbin/nologin