I need to create a user other than root which has only one directory access and can not access root.
For ex., I am Developer Admin and have root credentials. Design team need to upload some design flyers to specific folder. So I want to create a new user i.e. designlogin and that can access only design folder, not root i.e. var/www/flyers.
How can I do that? I have searched many links & commands (adduser, useradd etc) on internet, however no success. [We can able to add user however not able to login using it.]
Please guide me with this and Looking forward to get your reply at earliest.
PS: I have already raised a ticket however no reply so asking your help here.
Thank you, Adhrit
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!