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

Re: Adding users and virtual webs



First let me say did you even attempt to read the documentation???

At 02:33 PM 12/20/99 +0000, Patrick Kirk wrote:
>The basic steps needed are:
>
>1. Add a user

adduser

>2. Give an eight character password from random list

pwgen

>3. Give a home directory with a www subdirectory

/etc/skel

>4. Create a virtual server in the name http://www.localdomainname/user with
root documents in /home/user/www
>5. Add a new virtual domain like www.anydomain.com for apache and have its
root documents in a subdirectory of the user called anydomain

See Tamas's email.

>6. Make sure the user has no read access at all outside their own directory
yet is able to read email.

Not really possible.

>7. Deny the user telnet access.

One of the config files, I forget which one.  Look in /etc  If they can't
telnet in (or gain any shell) what's the point of taking away read
privleges?  For ftp use chroot.

>Obviously I'm not the first person to need to do this so does anyone know
where I can find a script to use as a prototype?  

I've never seen a script that would do all this in one fell swoop.  Whip up
something for adduser.local.  Most of what you want is done normally by the
adduser program.




--                                      
__   _____ ____   ____  ____   _____ _   _    ___   ____
|      |   |   \  |   \ |   \ /  |  \\   /   /   \  |   \
|      |   |___/  |__   |___/    |    \_/   |     | |___/
|      |   |    \ |     |   \    |     |    |     | |   \
|___/__|__ |____/ |___/ |    \   |     |     \___/  |    \

_____   ____    __   _____   _  _    _
|    \  |   \   /\  /  |  \ /    \   | 
|     | |__    /__\    |    |____|   |
|     | |     /    \   |    |    |   |
|____/  |___/ \    /   |    \    /   o


Reply to: