[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] RaQ 3 scripts (adduser & addvsite)
- Subject: [cobalt-developers] RaQ 3 scripts (adduser & addvsite)
- From: Jeff Bilicki <jeffb@xxxxxxxxxx>
- Date: Tue May 30 14:38:28 2000
Adduser is a command line utility for adding a single user to a virtual
site on a RaQ 3. Addvsite is a command line utility for adding a
virtual site on a RaQ 3. Both of these script check virtual site and
and user defaults for missing information, these defaults are configured
in the Cobalt user interface. You can find the scripts at:
ftp://ftp.cobaltnet.com/pub/users/jeffb/scripts/RaQ3/adduser
ftp://ftp.cobaltnet.com/pub/users/jeffb/scripts/RaQ3/addvsite
./adduser -d www.foo.com -f "Mr Bar" -u bar -p "foiledagain" -q 400 -t
./adduser -u foo
./adduser -h
usage: ./adduser [-d fqdn] [-f full name] [-u user name] [-p password]
[-q quota] [-t] [-a] [-x] [-o]
-d fully quilified domain name ie. www.domain.com
(default: base hostname + base domain name)
-f user's Full name
-u user name
-p users passwd (default: $dflPasswd)
-q quota in MB
-t shell(telnet) enabled
-a user is a site administrator
-x frontpage enabled
-o apop enabled
./addvsite -i 192.168.1.1 -n www -d bar.com -e -w -q 500 -u 20 -t -x
./addvsite -n sitename
./addvsite -h
usage: ./addvsite [-i ip address] [-n hostname] [-d domain] [-b
bandwidth] [-e] [-w] [-q quota] [-u max users] [-s] [-c] [-l] [-z] [-x]
[-o] [-f] [-m MB of files] [-z simult. users]
-i IP address of the Vsite
-n hostname of the Vsite (www)
-d domain name of the Vsite (domain.com)
-b bandwidth limit in kpbs (Not implemented)
-e accept email for domain
-w web access by domain
-q vsite quota in MB
-u maximun number of users in vsite
-t shell(telnet) enabled
-c cgi scripts enabled
-l ssl enabled
-s ssi enabled
-x frontpage enabled
-o apop enabled
-f anonymous ftp enabled
-m MB of incoming files
-z number of simultaneous users
Things left to do:
* Add an email aliases field and error checking to adduser.
* Implement bandwidth limiting in addvsite.
If you find any bugs with these scripts please email me at
jeffb@xxxxxxxxxxx
Jeff Bilicki
Software Engineer
Cobalt Networks