I am trying to create a user with non-interactive shell. I tried both the commands but it gives me Permission Denied.
- useradd -s /bin/false yousuf
- useradd -s /sbin/nologin yousuf
I am trying to create a user with non-interactive shell. I tried both the commands but it gives me Permission Denied.
Are you trying on one of the App Servers as asked in the question? If possible please share the screenshot.
were you root ? or did you use sudo ?