Page 1 of 1

How do I create another account with ssh access to a folder?

Posted: 2015/05/24 21:37:41
by nsw448
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.

Re: How do I create another account with ssh access to a fol

Posted: 2015/05/24 23:10:19
by gerald_clark

Re: How do I create another account with ssh access to a fol

Posted: 2015/06/03 08:36:56
by igsmigs88
hi,

useradd -d /home/minecraft/serv xxx

passwd xxx

you can create default home directory for that user