Linux User & File Management
From 2047Servers Support
| Line 84: | Line 84: | ||
Now if you have already created your user great, if not see the steps above on creating a user (useradd username), Once you have created a user edit the "/etc/passwd" file & edit the home directory to the folder location you want e.g. /home/newuser (Make sure that user has permission on that folder, otherwise they wont be able to login (because they dont have access to that folder) | Now if you have already created your user great, if not see the steps above on creating a user (useradd username), Once you have created a user edit the "/etc/passwd" file & edit the home directory to the folder location you want e.g. /home/newuser (Make sure that user has permission on that folder, otherwise they wont be able to login (because they dont have access to that folder) | ||
| − | You can check folder permissions either on PuTTy using "ls -l" or the GUI / easier way in WinSCP | + | You can check folder permissions either on PuTTy using "ls -l" or the GUI / easier way in WinSCP - http://winscp.net |
| − | When you are connected via | + | When you are connected via http://winscp.net you can right click on a folder & it will give you an option to enter a UID (User ID, as spoken about above) enter the users id to view/set their permissions on the folder, they will need at least Read & Execute on the folder in order for them to access the folder (You can set them the owner if you want to) |
[[File:winscpuserperm.png|350px]] | [[File:winscpuserperm.png|350px]] | ||