UP PREVIOUS NEXT - -Toolbox -Tecfa Manuel

11-11 Services Internet

11-11.1 WWW passwords

Limiter l'accèes

Pour limiter l'acces a un repertoire ("secret ci-dessous") il faut:

(1) Créer un fichier .htaccess dans le répertoire en question et qui ressemble a:

AuthUserFile /comm/tecfa/.wwwpasswd/.htpasswd AuthGroupFile /dev/null AuthName ByPassword AuthType Basic 
<Limit GET> require user staf </Limit> 

AuthName can be anything you want. AuthType should always currently be Basic.

(2) Create the password file /otherdir/.htpasswd.

The easiest way to do this is to use the htpasswd program distributed with NCSA httpd. Do this:

htpasswd /comm/tecfa/.wwwpasswd/.htpasswd xxxx 

Type the password -- xx77 -- twice as instructed.

(3) Pour créer un nouveau fichier mot de passe:

htpasswd -c <fichier> utilisateur 

11-11.2 httpd tecfa.unige.ch:80 (serveur www standard)

tuer:

Dans le répertoire /comm/soft/httpd/logs

Demarrer (sous root !!!):

dans le repertoire tecfasun1:/comm/soft/httpd

11-11.3 httpd tecfa.unige.ch:8000

11-11.4 Les MOO

  1. 1. Dans le MOO (comme Wizard ou admin) taper: @shutdown (Mon mot de pass wizzard est similaire a celui du systeme mais avec le premier caractere a la fin du mot)
  2. 2. Demarrer (sous schneide ou un autre utilisateur, PAS ROOT !!!):
  3. 3. Faire la même chose pour les autres MOOs qui tournent chez nous

UP PREVIOUS NEXT - -Toolbox -Tecfa Manuel