[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] How may I change the creation behaviour of new (v)users
- Subject: RE: [cobalt-users] How may I change the creation behaviour of new (v)users
- From: "aljuhani" <aljuhani@xxxxxxxxx>
- Date: Mon Feb 24 11:56:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hello Habib.
This is from Cobalt-Knowledge base and cover all RaQs:
==============
Add the following line to /etc/proftpd.conf after the DefaultRoot lines
toward the top of the file. This will work on the RaQ2 and RaQ4.
DefaultChdir ../../web site-adm
The user will then start out in the main web directory for the virtual site
for which they are an admin.
It is also possible to chdir the admin user to any sites web directory with
DefaultChdir ../../../sitename/web admin
On the RaQ3, the DefaultChdir ../../web site-adm line needs to go under
the sections for the VirtualHost at the end.
On the RaQ550, the DefaultChdir ~../../web site-adm line needs to go
under the sections for the VirtualHost at the end.
All file paths for DefaultChdir are relative to the users home directory.
If a new virtual site is added on the same IP address, the change to the
VirtualHost settings will need to be entered again.
Another way to accomplish this is to edit /etc/passwd Find the line for
the site admin to be modified. Change the path from
/home/sites/site#/users/username
to
/home/sites/site#/web
Be very careful with this command.
If the user is deleted after that change, the site web directory will be
deleted as well as this is the new root directory for that user.
This modification should be changed back before deleting the user.
====================
aljuhani@xxxxxxxxx
>===== Original Message From cobalt-users@xxxxxxxxxxxxxxx =====
Dear all,
Newbe in the managment of Cobalt (RaQ550) system, I did not found any
documentation about 'vsite' and 'user' managment scripts and the way to
change theire default behaviour.
For example, on our system, all site have only one user which is also
admin of here/his site.
We would like to change the way a user or even the admin of a new vsite
is created sothat she or he may directly upgrade his 'main' site
location (i.e: /home/site/my.site.org/web) insteed of having to transit
through, i.e: /home/site/my.site.org/users/john/web).
I found some related config files in /usr/sausalito but no doc anywhere
about it and I guss I will certainly break my system if I change
anything there without knowing exactly what I'm doing.
Could you please give me some tips or pointers to documentation in order
resolve this issue ?
Many thanks in advance for your help
Kindest regards
Bertrand Habib