Nocser Technology | Main Page
Please Login or Register

Knowledgebase

Create FTP user without shell

login as root

nano /etc/shells

add a line to the list "/bin/nologin"

/bin/bash
/bin/sh
/bin/ash
/bin/bsh
/bin/tcsh
/bin/csh
/bin/nologin

useradd -d /home/remotebackup/user -s /bin/nologin user > /bin/nologin 2>&1



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
ping: unknown host (Views: 650)

Powered by WHMCompleteSolution

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search



Follow Us on Twitter