Login to Members Area

Choose the service you want to log in
24x7x365 Presence
Live Chat

Hosting Blog


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

Vimal Sunday 13 October 2013 - 08:50 am | | Default
Used tags: , , , , , ,

No comments

(optional field)
(optional field)

Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor.

Remember personal info?
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.