Knowledgebase
Portal Home > Knowledgebase > 4. VPS / Virtual Server > Create FTP user without shell
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
|
Add to Favourites
Print this Article
|
Also Read
Powered by WHMCompleteSolution