I need to create a new user account, that should have full access to a single dir within the linux HDD, unlike the root user that has access to everything. And this account would be used via SSH for file sharing on the network. How do I get started?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
Just create a normal user, and set it's home dir to the desired folder:
If you explicitly do not add this user to sudoer's list, or any special groups, then it will be limited by default. For security purposes you might want even to |
|||
|
|
File transfer (and sharing) over SSH is done using the And you can set up OpenSSH to |
|||
|
|