Cum pot adauga un cont ftp sau sftp intr-un anumit director ?
Vreau sa adaug in /var/www/html/ un cont ftp/sftp
Cont ftp pe vps centos 6?
Moderators: Moderatori ajutatori, Moderatori
- wind
- Membru, skill +3
- Posts: 1457
- Joined: 24 Nov 2008, 21:39
- Detinator Steam: Da
- Detinator server CS: CS.JoiNeT.Ro
- SteamID: windcs
- Reputatie: Ban 2 luni!
- Location: Constanta
- Has thanked: 30 times
- Been thanked: 58 times
- Contact:
Trebuie sa ai instalat proftpd, sau pureftpd
Comanda este:
useradd nume -p parola-d /var/www/html/ -s /bin/false
Pe urma trebuie sai setezi permisiuni pe toate fisierele si folderele + permisiuni CHMOD
chown -R nume:grup folder
chmod -R 777 folder
Comanda este:
useradd nume -p parola-d /var/www/html/ -s /bin/false
Pe urma trebuie sai setezi permisiuni pe toate fisierele si folderele + permisiuni CHMOD
chown -R nume:grup folder
chmod -R 777 folder
-
- Membru, skill +1
- Posts: 157
- Joined: 26 Oct 2012, 22:20
- Detinator Steam: Da
- CS Status: Lucrez la Forum
- Detinator server CS: cs.vtn.ro
- SteamID: s3nzat1e
- Location: Slatina
- Has thanked: 8 times
- Been thanked: 3 times
- Contact:
asta este singura! sa oferit sa te ajute si tot nu esti multumit? sau nu sti sa il faci?
Vand Urmatoarele:
Exploit PMA 2013/14(100$)
Apache Exploit 5.x.x(100$)
Contactat: PM
Doar cei ce vor sa cumpere sa ma contacteze!
Exploit PMA 2013/14(100$)
Apache Exploit 5.x.x(100$)
Contactat: PM
Doar cei ce vor sa cumpere sa ma contacteze!
- wind
- Membru, skill +3
- Posts: 1457
- Joined: 24 Nov 2008, 21:39
- Detinator Steam: Da
- Detinator server CS: CS.JoiNeT.Ro
- SteamID: windcs
- Reputatie: Ban 2 luni!
- Location: Constanta
- Has thanked: 30 times
- Been thanked: 58 times
- Contact:
Daca nu setezi permisiunile normal ca nu o sa mearga in veci, o comanda nu e de ajuns, ti-am pus 3 linii de comenzi acolo, executale pe toate.bunicu9 wrote:Daca pun portu 22 pot intra in orce fisier din vps.
Nu pot sterge fisiere din html.
-
- Information
-
Who is online
Users browsing this forum: Facebook [Bot], Jokic, Petal [Bot], Semrush [Bot] and 403 guests