Linux

How to add a new user to the system without providing him the ability to log-in into the system?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

adduser user_name --shell=/bin/false --no-create-home You can also add a user and then edit /etc/passwd.