-   Linux - Newbie (
-   -   proftpd and users (

emptystrings 11-07-2004 07: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?



verzonnen 11-07-2004 07: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 08: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 08: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:51 AM.