-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from hostingbydesign/jiiikoo-guestftp-1
Create guestftp.mdx
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
id: guestftp | ||
title: Setting up Guest FTP | ||
sidebar_label: guestftp | ||
--- | ||
|
||
## Setting up a Guest FTP Service | ||
|
||
First, you have to elevate to root user with `sudo su -` and then inputting your password. | ||
|
||
When you’re root, you need to download the GuestFTP script: `wget https://hnielsen.eu/files/guestftp.sh` | ||
|
||
Now you need to make the script executable with `chmod +x guestftp.sh`. | ||
|
||
Once the file is executable, you can run it. The syntax for running is as follows. ./guestftp.sh username password /path/to/folder/ | ||
|
||
So for example to give username ”test”, with the password ”test” access to folder /home/test/test/, you would run the command as follows: | ||
`./guestftp.sh test test /home/test/test/` | ||
|
||
After the script has ran fully, you can check that the service is up and running with `service guest-ftp status` and it should say that the service is active. |