Hello, : )
I have a remote access to the server that hosts my joomla, and it does not have cpanel.
So I have to do everything manually.
I need to have an FTP account to the httpdocs folder because I need to put these info in the config file of joomla (to allow file uploading ...etc)
So, I googled, and found this:
Quote:
To create FTP user through SSH you would need to follow below mentioned steps:
1. Login as root through SSH.
2. Next add the user account you want using the 'useradd' command
useradd <username>
3. Now create a special group for that user.
groupadd <groupname>
4. Now to add the user to the group
gpasswd -a <username> <groupname>
These commands are non-standard but available on most popular distributions.
If not, then you can try editing /etc/group using your favorite text editor.
5. Change the group ownership of the special directory to that group.
chgrp -R groupname /path/to/your/web/directory
6. Enable write permissions
chmod -R g+rw /path/to/your/web/directory
But I have 2 questions:
1. Shouldn't there be a step to add a password to the account?
2. Step 4 is confusing, it it for adding a password or adding a user to the group?
If it is for both, them wheere should I write down the password? is it instead of -a?
3. path/to/your/web/directory
should I directly write /httpdocs or should I put the whole path from root/....etc
I'm really new to Linux.
Any help is appreciated.
Thanks.