User and Group Tips Add comments How to create a user without a home directory and with disabled login sudo adduser user_name --shell=/usr/sbin/nologin --no-create-home Leave a Reply Cancel reply Your Comment You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> Name (required) E-mail (required) URI Δ