Skip to content

Instantly share code, notes, and snippets.

@breenie
Created August 11, 2015 13:40
Show Gist options
  • Select an option

  • Save breenie/ab03103c98f63465518d to your computer and use it in GitHub Desktop.

Select an option

Save breenie/ab03103c98f63465518d to your computer and use it in GitHub Desktop.
FTP server on ubuntu 14.04 x64
#!/bin/env bash
sudo apt-get update
apt-get install vsftpd
# Modify /etc/vsftp.conf
useradd -m ldsc -s /usr/sbin/nologin
passwd ldsc
echo "/usr/sbin/nologin" >> /etc/shells
service vsftpd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment