LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 11-29-2006, 09:49 PM   #1
harleys
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
proftpd user permissions


i am running slackware 10.2 and i set proftpd up, everything is working perfectly. now, my brother wants to be able to upload files to it to share with his friends, so i need to make it where i have like 3 accounts that can log in and upload and download, but ONLY to one directory. i don't even want them to be able to see other directories. i don't want to limit all users to this though, just them. can anyone help me out with doing this? thanks, harley
 
Old 11-30-2006, 03:06 PM   #2
derxob
Member
 
Registered: Apr 2006
Location: Los Angeles, California
Distribution: Slackware, Ubuntu
Posts: 68

Rep: Reputation: 15
- Create a user with adduser.
- Set the directory to /home/the_username_you_choose during the adduser options.. (it will do this by default if you hit enter when prompted for the home directory)

By default, the user will only have permission to its home directory, unless you've changed permissions everywhere else..
 
Old 11-30-2006, 05:28 PM   #3
harleys
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
no, i don't want them to even be able to see their home directory. there is one directory that they are all going to be using, say for instance /junk so i only want them to be able to see that directory. they can all have read/write privlidges to that one directory, but nothing else. i want it to be like that is the only directory on the box when they log in. i don't want to limit all users to that though, just those few.
 
Old 12-01-2006, 12:38 PM   #4
derxob
Member
 
Registered: Apr 2006
Location: Los Angeles, California
Distribution: Slackware, Ubuntu
Posts: 68

Rep: Reputation: 15
Then set their home directory to /junk .. you can do that during the adduser
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd user permissions powadha Linux - Software 1 09-21-2005 02:18 PM
Proftpd User Permissions discrepant Linux - Newbie 1 03-17-2005 05:33 PM
Mandrkae Proftpd user permissions slipsy Linux - Newbie 1 09-10-2003 03:36 PM
Pleasehelp with proftpd.conf - trying to config user to write files as other user. philg Linux - Software 1 06-21-2003 01:13 PM
Proftpd Permissions Nephlite Linux - Networking 6 02-08-2002 10:26 AM


All times are GMT -5. The time now is 02:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration