LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-07-2004, 07:14 PM   #1
emptystrings
LQ Newbie
 
Registered: Nov 2004
Location: Temple City, CA
Distribution: Slackware 10.0
Posts: 17

Rep: Reputation: 0
proftpd and users


I installed proftpd and it seems to be working fine. I had several questions about users and their privileges in proftpd.

1. Can I give a user access to a drive I mounted as /storage? How do I do that? It seems like the default is to create a new directory for the new user within /home and only allow ftp access to that directory.

2. Is there a way to edit users once they have been created?

3. Can I give a single user access to two different directories that are one level off of root without having to open up root access?

Thanks.

Daniel.
 
Old 11-07-2004, 07:46 PM   #2
verzonnen
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
try vipw

With vipw you can alter the home directory in the /etc/passwd file

Don't forget to move the users home directory also with mv /home/user /storage/user

Good luck
 
Old 11-07-2004, 08:06 PM   #3
emptystrings
LQ Newbie
 
Registered: Nov 2004
Location: Temple City, CA
Distribution: Slackware 10.0
Posts: 17

Original Poster
Rep: Reputation: 0
I tried to use vipw from bash and it wouldn't let me edit the file. I could view the file, but it would do nothing when I try to change lines. How do I use this editor? Thanks.
 
Old 11-07-2004, 08:33 PM   #4
verzonnen
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
You have to use these commands as root. (hint "su -")

If you are not familiar with the vi editor try the command vimtutor first, it will take a few hours to learn the beginnings.....
 
  


Reply



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
Jailing users with ProFTPd bullium Linux - Security 4 03-25-2005 03:00 PM
Proftpd Anonymous Users zaicheke Linux - Networking 1 08-20-2004 10:03 PM
users proftpd strider17 Linux - Newbie 2 02-05-2004 06:21 PM
Authenticating users on Proftpd wallaba Linux - Newbie 4 02-17-2003 02:08 AM
how do you setup users on ProFTPD? ShawnD Linux - Software 22 08-01-2002 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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
Open Source Consulting | Domain Registration