Re: How to set the FTP only user's home directory to /.

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

 



Hi everybody,
Thanks for replying to my query, I have created an FTP only user.I want
one more help,
I have set the home directory of the user to /home/httpd/username when
ftp-ing with this user name the current directory is displayed as it is
ie.,/home/httpd/username.I have seen systems where the home directory will
be displayed only as / .Can anybody tell me how to do that.
Thanks & regards,
senthil.

Alvin Starr wrote:

> On Sat, 29 Jul 2000, Stephen S M WONG wrote:
>
> > Edit the shell setting in /etc/passwd, make /bin/false as the user's
> > shell.
> >
> > My 2 cents.
> >
> > Stephen Wong.
>
> I use /bin/true. but don't forget to add the entry to /etc/shells.
> /etc/shells is used by ftp to validate the users. If the user does not
> have a valid shell they are not allowed to ftp.
>
> Alvin Starr                   ||   voice: (416)585-9971
> Interlink Connectivity        ||   fax:   (416)585-9974
> alvin@iplink.net              ||

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux