LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-06-2003, 04:38 PM   #1
dkc_ace
Member
 
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194

Rep: Reputation: 30
setting up accounts and partitions for FTP


could anyone pls tell me if it is possible in Proftp to setup accouts that have a home dir on a diffrent partition and instructions if it is possible. thanks ahead of time.
 
Old 01-06-2003, 04:59 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Sure.

adduser bob
bob's home directory is created /home/bob and resides on /dev/hda4

adduser ftp
ftp's home directory is /export/data and resides on /dev/hda8

You can specify any home directory you want for any user, usually when you create the user or mkdir before you create the user.
 
Old 01-06-2003, 05:14 PM   #3
dkc_ace
Member
 
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194

Original Poster
Rep: Reputation: 30
OHHHHHHHHHHHHHHHHHHHHHHHH

so i just basicly add accounts on the system.
 
Old 01-06-2003, 05:21 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by dkc_ace
OHHHHHHHHHHHHHHHHHHHHHHHH

so i just basicly add accounts on the system.
Yeah and just assign thier home dir's accordingly. by default with proftpd anyone with a user account will have ftp access but if you can always change and limit that as well.
 
Old 01-06-2003, 05:42 PM   #5
dkc_ace
Member
 
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194

Original Poster
Rep: Reputation: 30
so could i restric certian accts to only FTP. how would i set the home dir for the anoyomous acct. thanks again.
 
Old 01-06-2003, 05:48 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Yeah, just make their default shell as maybe /bin/false in the /etc/passwd file. Also add the shell name of /bin/false to the file /etc/shells.

Usually by default if you setup anonymous ftp it has a dir already setup or created: /home/ftp
You can change this with the proftpd.conf configuration file or I actually made a link from that to another directory I setup for mine.
Just comment of remove the user ftp in the /etc/ftpusers file.
 
Old 01-06-2003, 06:58 PM   #7
dkc_ace
Member
 
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194

Original Poster
Rep: Reputation: 30
thanks .
 
Old 01-10-2003, 11:33 AM   #8
dkc_ace
Member
 
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194

Original Poster
Rep: Reputation: 30
http://www.linuxquestions.org/questi...threadid=40990

Last edited by dkc_ace; 01-10-2003 at 12:28 PM.
 
  


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
Two ftp accounts in one site Roosta21 Linux - Newbie 3 03-24-2005 08:03 AM
need help setting up ftp user accounts and directory structures aikym1 Linux - Newbie 4 07-19-2004 04:17 PM
Basic Linux Networking and setting up ssh/telnet/ftp user accounts... timmy_laf Linux - Newbie 2 01-05-2004 03:07 AM
wu-ftp - setting up guest accounts jim_cochran Linux - Newbie 2 04-04-2002 09:26 PM
guest ftp accounts scottp Linux - Networking 0 10-08-2001 06:34 AM


All times are GMT -5. The time now is 06:36 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration