• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Adding a specific type of user - Debian??

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Dougan

Member
Joined
Mar 9, 2002
I am new to linux distros and am curious, I need to beable to add a user that will only have access to etc/www and beable to only modify that directory. Is this possible? I do not want them to have access to anything else on the server. This is Very Important! The server runs on a large corporate backbone. Can this be done? And if so how secure is it? I believe the program this person will use is Winscp to modify the directory. Thanks.
 
yea you could add them

then add them to a group// make them owner of the directory


then change the group, or owner permissions so that they can modify that directory




basically if you just do a basic useradd, and don't give them a home directory, and don't join them to any groups (or just add them to the admin group of the directory your working with here)

it should be pretty secure


i'm can't remember the syntax 100% but

man these

useradd
chown
chmod
 
Back