I am trying to create a user 'xxx' that has access to /home/minecraft/serv
I know /home/ by default is owned by root. I am trying to figure out if it would be easier to make a new directory in root for this user or set it up so they can access /home/minecraft/serv. I have no clue how groups work and I understand very little about user perms. Anyone mind explaining this for me in a step by step process so I can get the above done correctly?
My plan is to have the be able to login through ssh and winscp to edit files and start the server.
How do I create another account with ssh access to a folder?
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: How do I create another account with ssh access to a fol
hi,
useradd -d /home/minecraft/serv xxx
passwd xxx
you can create default home directory for that user
useradd -d /home/minecraft/serv xxx
passwd xxx
you can create default home directory for that user