jackbrookes
asked Jan 30 2018
Answer
Use the below command to add a user with no login shell
useradd user1 -s /sbin/nologin
parthiban
asked Feb 01 2018
edited Oct 05 2018
Adduser without login
I want to create a user in my linux system, but the user must not have a login session, so how can i do that?