[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.7.3 User authentification

Diogene87 provides access control : a user must use the user command to identify himself.

Here is an example of a telnet connection on `dio87d' daemon running on the local host. A user command is sended by the user to identify himself.

 
$ telnet localhost 9998
Trying 127.0.0.1...
Connected to localhost
Escape character is '^]'.
diogene87-dio87d-1.0.0pre1-(P01)

Diogene87>help
Available functions are :
exit   help   memory    user   version    check 	
OK

Diogene87>user "admin" ""
OK

Diogene87>help
Available functions are :
cc        ck    cl     exit  help  ...
[...]
rtswad    shutdown  ta       tc    ...
OK

Diogene87>exit
Bye
OK
$

In this example, an help command was sended before and after user connection with user command. You can notice that user can only access to generic commands before he is connected.

By default, communications utilities (`dio87c', `dio87d', `dio87d', `dio87d') try to establish a new session with `admin' account and an empty string as password.

If you must use another account, you can use environment variables or options to specify user and password to used. DG87_USER and DG87_PASSWORD can be used to specify which user name and which password to use.

If your user name is `ernest' and you password `xz88d', you can define environment variables like this.

 
$export DG87_USER="ernest"
$export DG87_PASSWORD="xz88d"

Communications utilities will automaticaly use this variables.

Another way is to use `-u' and `-p' options with communication utilities :

 
$dio87c -u "ernest" -p "xz88d" -- help



This document was generated by dom on September, 11 2005 using texi2html