[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] FTP



Hi Andy,


all you need to do is apply this section to your /etc/proftpd.conf file



DefaultRoot         ~/../../ site-adm
DefaultRoot         ~ !site-adm
DefaultChdir            ../../web site-adm

and restart inetd like this

killall -HUP inetd


This works fine



le 1.7.2001 2:22, Andrew Mace à andy.mace@xxxxxxxxxx a écrit :

> Hi Sorry, if this has been asked before.
> 
> We want to make our site admins default to / when FTPing into there space,
> instead of /users/{user}, am i write in thinking, i just need to change the
> homepath in /etc/passwd.
> e.g
> 
> amace:x:124:100:Andrew Mace:/home/sites/site13/users/amace:/bin/badsh
> 
> changed to:
> 
> amace:x:124:100:Andrew Mace:/home/sites/site13:/bin/badsh
> 
> would ftp me to /
> Also, if i changed it, would the Cobalt Adm re-write the whole file,
> therefore, deleting all my hard work?
> 
> Regards
> Andy
> 
> 
> 
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users

=======================================================================

Marco Baurdoux
Unix Administrator
Infomaniak Network SA
Avenue de la Praille 26
1227 Carouge
Switzerland
Tel: +41 (0)22 820 35 41
Fax: +41 (0)22 820 35 46
http://web.infomaniak.ch

=======================================================================