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

Re: [cobalt-users] changing default directory



> > --- Cannon <mcannon@xxxxxx> wrote:
> > > Is there any way to change the default directory people are left at
> > > when they telnet or ftp into their server?
> > >
> > > I would like to have them start in their web directory...
> >
> > In terms of telnet, do do this, you need to edit the /etc/passwd file.
> >    userid:x:101:101::/path/to/web/dir:/bin/bash
> >
> > for ftp, i'm not sure how to configure it.

--- "Andrew D. Mussaw" <amussaw@xxxxxxxxxxxxxxxxx> wrote:
> FTP works the same way.  The /etc/passwd file determines the home directory
> for the user no matter how they access the server.  Just be sure they have
> ownership of their home directory or they won't be able to upload or delete
> items.

Damnit, trim quoted text when replying.

Anyway, it's not the exact same. you can futz with it using proftpd's config
files.

Paul

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com