I have added user with a command:
sudo adduser *user*
Now I can connect using FileZilla, however I have no clue what path does it brings me to. I would like to be able to browse root of my server/site.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Thanks for your reply. That worked! If I may ask another question: Now I can’t manipulate with files in new directory. Should I change permissions or something now?
Also, how do I make the path to be root of the server, not user root? /home takes to user root only.
To define the users home path at creation, you’d use:
useradd -d /home/user user
To modify the user after creation, you’d want to use usermod from the CLI. The argument would be the same as it is for useradd, so you’d run:
usermod -d /home/user user
Where /home/user is the home path you want to assign to the user and user is the username of the user you want to create or modify.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.