[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] changing the default directory
- Subject: Re: [cobalt-users] changing the default directory
- From: "Rik Thomas" <rikt@xxxxxxxxxxxxxxxx>
- Date: Sun Sep 9 02:47:58 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
----- Original Message -----
From: "Jeff Lasman" <jblists@xxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Saturday, September 08, 2001 8:33 PM
Subject: Re: [cobalt-users] changing the default directory
> Chris Fragogiannis wrote:
>
> > Hello Cobalt guys. I have a RaQ4i server. When a user (for example
called george) is
> > connected via FTP the default directory is /users/george. I have some
clients who are getting
> > confused some times and they upload their files in the /users/george/web
directory. Is there
> > any way to change the default directory from /users/george to /web when
the are connected via FTP?
> > I want this change only for the site administrators.
>
> I've done this in the httpd.conf file, but not without disabling the
> gui. It's doable without disabling the gui, by a rewrite rule, but I've
> taken the time to figure out the rule.
>
> Jeff
You definitely don't want to touch the httpd.conf file. All you need to do
is be VERY VERY did I say VERY careful and edit the /etc/passwd file. First
I would make a copy of it. Then change the section that says:
george:x:130:100:George Bush:/home/sites/site4/users/george:/bin/bash
and change it to:
george:x:130:100:George Bush:/home/sites/site4/web:/bin/bash
That's it, no reboots or anything. Just log back in and go from there. You
can even change the useradd defaults, so it will do this by default. But I
do not recommend doing this on a cobalt.
--
Rik Thomas, President
SmartBackups.com http://SmartBackups.com
Is your site smart? It better be. Free 30 day trials!