Jump to content

Recommended Posts

Posted

Creare user + parola FTP

Pasul 1

Cream directorul ftp + user si parola.

# mkdir /home/directorftp# chmod 775 /home/directorftp/# groupadd ftpuser# chown root:ftpuser /home/directorftp/# useradd -g ftpuser -d /home/directorftp/ joe# passwd joe# nano /etc/shells ( scriem urmatorea linie de cod : '''/bin/false''' )

 

shells

# /etc/shells: valid login shells/bin/csh/bin/sh/usr/bin/es/usr/bin/ksh/bin/ksh/usr/bin/rc/usr/bin/tcsh/bin/tcsh/usr/bin/esh/bin/dash/bin/bash/bin/rbash-----------/bin/false-----------

 

 

Pasul 2

Ne vom loga pe serverul FTP cu Total Commander, FileZilla, etc.

 

Session: Server FTP

Host: 192..168.1.1

User: joe

Password : *****

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...