Jump to content
Facebook Twitter Youtube

Recommended Posts

Posted

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.

Session: Server FTP

Host: 192..168.1.1

User: joe

Password : *****

Urc1.jpg

Us2.png

Guest
This topic is now closed to further replies.

WHO WE ARE?

CsBlackDevil Community [www.csblackdevil.com], a virtual world from May 1, 2012, which continues to grow in the gaming world. CSBD has over 70k members in continuous expansion, coming from different parts of the world.

 

 

Important Links