LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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, 08: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, 08: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, 09: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, 09: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


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


All times are GMT -5. The time now is 12:39 AM.

Main Menu
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