[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
`Diogene87' provide an utility `dio87c' which enables you to communicate with the daemon without using a telnet connection.
Here is an example, where a user sends a help cl
command :
#dio87c -- help cl Function cl : connection list # |
If the daemon is running on a remote server, you must specify the name or the IP address of the server with the `-H' option. For example, to send the `help' command to a daemon which is running on the `eagon' computer, you use :
$ dio87c -H eagon -- help Available functions are : cc ck cl exit help mc memory mk ml [..] check ja jc ji jk jl shutdown $ |
By default, the `dio87c' communication utility tries to connect with the `admin' user and with an empty string as password. If you want to use another user or another password, you can use the `-u' and `-p' options to specify user and password :
In this sample, the `admin' user creates a new user named `mike' with `xyz' as password. Then `mike' uses `-u' and `-p' options to send a command :
$ dio87c -- ua mike $ dio87c -- password mike xyz $ $ dio87c -u mike -p xyz -- help Available functions are : exit help memory password user version check $ |
Another way to specify user and password is to define DIO87_USER and DIO87_PASSWORD environment variables :
$ export DIO87_USER="mike" $ export DIO87_PASSWORD="xyz" $ $ echo $DIO87_USER $DIO87_PASSWORD mike xyz $ $ dio87c -- help Available functions are : exit help memory password user version check $ |