Second FTP for Primary Domain

greg

Active Member
Sep 4, 2001
37
0
306
Hi, I have a customer who would like to have a secondary ftp account to access a domain name (ie. not a sub-directory but the actual domain it self, so the second user can access public_html).

Does anyone know if this is possible and if so, how?

Thanks for any help in advance.

Greg
 

parag

Well-Known Member
Aug 16, 2001
115
0
316
[quote:7583b2b069][i:7583b2b069]Originally posted by greg[/i:7583b2b069]

Hi, I have a customer who would like to have a secondary ftp account to access a domain name (ie. not a sub-directory but the actual domain it self, so the second user can access public_html).

Does anyone know if this is possible and if so, how?

Thanks for any help in advance.

Greg[/quote:7583b2b069]


add another ftp user from the control panel

login to your server as a root

go to /etc/proftpd/ - edit domain's main user file
(e.g. if you have the main accounts userid = greg then edit the file greg using pico)
find the userid which you want to have access for public_html or the root of the website.

edit the path from /home/domain/public_html/greg to /home/domain/public_html or whatever u like.

close the file .. save the changes...

now edit the passwd.vhosts file.
find the userid and edit the path in that file as well

save the file.. quit

restart proftpd server

thats it.

regards
Parag
 
B

bdraco

Guest
[quote:dc94e4e7d1][i:dc94e4e7d1]Originally posted by greg[/i:dc94e4e7d1]

Hi, I have a customer who would like to have a secondary ftp account to access a domain name (ie. not a sub-directory but the actual domain it self, so the second user can access public_html).

Does anyone know if this is possible and if so, how?

Thanks for any help in advance.

Greg[/quote:dc94e4e7d1]

Why can't they just use the same account ?
 

greg

Active Member
Sep 4, 2001
37
0
306
Parag: thanks for your help! I'll be sure to put it to use.

bdraco: an excellent point that I've run through my head a few times today.. I think the simple answer is 'thats customers for you'...
 

greg

Active Member
Sep 4, 2001
37
0
306
[quote:ec184783a9][i:ec184783a9]Originally posted by parag[/i:ec184783a9]
now edit the passwd.vhosts file.
find the userid and edit the path in that file as well
[/quote:ec184783a9]

Hi, sorry to bother you again, but I'm not entirely sure where this file is (I'm still a tad new to Linux).. any chance of a heads-up please?

Thanks again,

Greg
 

billmicke

Member
Mar 28, 2002
24
0
301
[quote:89dc6bc3bf][i:89dc6bc3bf]Originally posted by greg[/i:89dc6bc3bf]

[quote:89dc6bc3bf][i:89dc6bc3bf]Originally posted by parag[/i:89dc6bc3bf]
now edit the passwd.vhosts file.
find the userid and edit the path in that file as well
[/quote:89dc6bc3bf]

Hi, sorry to bother you again, but I'm not entirely sure where this file is (I'm still a tad new to Linux).. any chance of a heads-up please?

Thanks again,

Greg[/quote:89dc6bc3bf]
At shell, run the following command

locate passwd.vhosts