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
]]>
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
]]>