LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   proftpd and users (http://www.linuxquestions.org/questions/linux-newbie-8/proftpd-and-users-252214/)

emptystrings 11-07-2004 08:14 PM

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.

verzonnen 11-07-2004 08:46 PM

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

emptystrings 11-07-2004 09:06 PM

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.

verzonnen 11-07-2004 09:33 PM

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.....


All times are GMT -5. The time now is 01:27 PM.