• 1-888-289-2246
  • 24x7x365 Presence

Creating a nologin user in Linux


Sometimes we need to give FTP access to a user but we restrict him from logging into the system due to security reasons. 

Follow the command below to add a user “test” with no shell login access:

# useradd -s /sbin/nologin test

]]>


Leave a Reply

Your email address will not be published. Required fields are marked *