LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-24-2003, 05:56 PM   #1
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Rep: Reputation: 15
Smile Changing default directory / vsftpd


This may seem trivial but I could not get it to work by changing vsftpd.conf.
I know the default dir for an anon login is /var/ftp/.
I also know that the default dir for a "real" user is /home/USER/.
I have a dir at /var/buster/left
I want to be able to log in as bob87 (my user) and have the server land him in /var/buster/left.

Can I do that?


P.S. Im using RedHat 8.
 
Old 03-24-2003, 09:43 PM   #2
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
I had the great idea to try changing the HOME path of bob87's .bash_profile to /var/buster/left.

That didnt work.

Any ideas?

Recap: Im trying to have a user login to an FTP account and have the server drop him into a specified directory.
 
Old 03-24-2003, 11:38 PM   #3
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
OK... I just solved my own problem... It was so simple, I feel like an idiot!
 
Old 03-26-2003, 07:11 AM   #4
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
how?
I am having the same issue. There must be something I am overlooking. I did the same thing you did by changing the home directory. What did you do?
 
Old 03-26-2003, 05:45 PM   #5
chrisknight
Member
 
Registered: Jan 2003
Location: ohio
Distribution: CentOS5.5, SmoothWall 3.0
Posts: 139

Original Poster
Rep: Reputation: 15
Smile Changing the default FTP log-in Directory RH8

OK... I felt silly (and actually laughed out loud) after I figured this out.
I use RedHat Linux 8 / KDE 3.0.3-8
Click the lower left icon on the task bar to bring up your program list.
Click on 'System Settings' then click 'Users and Groups'.
Highlite the user who's FTP default log-on directory you want to change.
Then up at the top, click 'Properties'... This will give you that users properties.

Change "Home Driectory" to what over you want it to be.

It just doesnt get any easier than that... I was looking for some config file when KDE could have done it for me all along.
 
Old 03-27-2003, 07:16 AM   #6
bentman78
Member
 
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
Yeah, I was looking for some config file in the VSFTP.CONF. I just created an FTP user account (ftpuser) and pointed it's home directory to a drive I had mounted. I felt stupid too after I researched it and figured it out.
 
  


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
Changing Sendmail's default mail storage directory?? RKris Linux - General 4 07-15-2015 12:46 PM
changing default directory on "vsftp" server xone Linux - Software 4 01-07-2014 03:07 PM
Changing default current directory to / when ftp ckit Linux - Newbie 1 01-27-2004 08:34 PM
changing Up2date default installation directory ! mchenrytl Red Hat 1 09-25-2003 08:27 AM
How to chnage default FTP directory for vsftpd ? patiwat Linux - Newbie 1 08-01-2003 09:25 AM


All times are GMT -5. The time now is 06:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration