Nº | Receive or send | Data type | Data label | Data value | Action after send or receive and notes |
---|---|---|---|---|---|
1 | out | Byte | Welcome | '+' | - |
2 | in | String1 | Login | - | - |
3 | in | Password2 | Password | - | - |
4 | out | Byte | Result | see below | - |
4 | out | Byte | Result | '!' | Go ahead. |
4 | out | Byte | Result | '^' | Login failed, terminate conversation. |
5 | in | Byte | Action | - | Conversation depends on this byte. |
5 | in | Byte | Action | 'n' | Nothing. Jump to p. 6, first option. |
5 | in | Byte | Action | 'c' | Change user password. |
5.1 | in | String | User | - | - |
5.2 | in | Password | Password | - | New password. |
5.3 | in | Integer | Min | - | Days until change allowed. |
5.4 | in | Integer | Max | - | Days before change required. |
5.5 | in | Integer | Warn | - | Days to warn. |
5.6 | in | Integer | Inact | - | Days to disable. |
5.7 | out | Byte | Result | '-' | No such user. |
5.7 | out | Byte | Result | '~' | No rights to do this. |
5.7 | out | Byte | Result | '*' | Password still unchanged. Error. |
5.7 | out | Byte | Result | '$' | Weak password. |
5.8 | out | String | Obscure | - | Obscure string. |
5 | in | Byte | Action | 'r' | Change group password. |
5.1 | in | String | User | - | - |
5.2 | in | Password | Password | - | New password. |
5.8 | out | Byte | Result | '-' | No such group. |
5.8 | out | Byte | Result | '~' | No rights to do this. |
5.8 | out | Byte | Result | '*' | Password still unchanged. Error. |
5.8 | out | Byte | Result | '$' | Weak password. |
5.9 | out | String | Obscure | - | Obscure string. |
5 | in | Byte | Action | 'a' | Add user. |
5.1 | in | String | User | - | - |
5.2 | in | String | Gecos | - | - |
5.3 | in | String | Directory | - | - |
5.4 | in | String | Shell | - | - |
5.5 | in | Integer | User ID | - | - |
5.6 | in | Integer | Group ID | - | - |
5.7 | out | Byte | Result | see below | Terminate. |
5.7 | out | Byte | Result | '+' | User added. |
5.7 | out | Byte | Result | '-' | Duplicate name. |
5.7 | out | Byte | Result | '*' | User not added. Error. |
5.7 | out | Byte | Result | '~' | No rights to do this. |
5.7 | out | Byte | Result | ':' | Bad shell. |
5.7 | out | Byte | Result | ';' | Error making directory. |
5 | in | Byte | Action | 'b' | Add group. |
5.1 | in | String | User | - | - |
5.2 | in | String | Members | - | - |
5.3 | in | String | Administrators | - | - |
5.4 | out | Byte | Result | see below | Terminate. |
5.4 | out | Byte | Result | '+' | Group added. |
5.4 | out | Byte | Result | '-' | Duplicate name. |
5.4 | out | Byte | Result | '*' | Group not added. Error. |
5.4 | out | Byte | Result | '~' | No rights to do this. |
5 | in | Byte | Action | 'd' | Delete user. |
5.1 | in | String | User | - | - |
5.2 | out | Byte | Result | see below | Terminate. |
5.2 | out | Byte | Result | '+' | User deleted. |
5.2 | out | Byte | Result | '-' | No such user. |
5.2 | out | Byte | Result | '*' | User not deleted. Error. |
5.2 | out | Byte | Result | '~' | No rights to do this. |
5 | in | Byte | Action | 'e' | Delete group. |
5.1 | in | String | User | - | - |
5.2 | out | Byte | Result | see below | Terminate. |
5.2 | out | Byte | Result | '+' | Group deleted. |
5.2 | out | Byte | Result | '-' | No such group. |
5.2 | out | Byte | Result | '*' | Group not deleted. Error. |
5.2 | out | Byte | Result | '~' | No rights to do this. |
5 | in | Byte | Action | 'l' | Chfn. |
5.1 | in | String | User | - | - |
5.2 | in | String | Full name | - | - |
5.3 | in | String | Room number | - | - |
5.4 | in | String | Work phone | - | - |
5.5 | in | String | Home phone | - | - |
5.6 | in | String | Other | - | - |
5.7 | out | Byte | Result | see below | Terminate. |
5.7 | out | Byte | Result | '+' | Chfn completed. |
5.7 | out | Byte | Result | '-' | No such user. |
5.7 | out | Byte | Result | '*' | Error. |
5.7 | out | Byte | Result | '~' | No rights to do this. |
5 | in | Byte | Action | 'g' | Get group. |
5.1 | in | String | User | - | - |
5.2 | out | String | Group | - | Empty string on error. |
5.3 | out | Byte | Result | see below | Terminate. |
5.3 | out | Byte | Result | '+' | OK. |
5.3 | out | Byte | Result | '-' | No such user. |
5.3 | out | Byte | Result | '~' | No rights to do this. |
5 | in | Byte | Action | 'k' | Get public key3. |
5.1 | out | Byte | Result | see below | - |
5.1 | out | Byte | Result | '+' | OK. |
5.1 | out | Byte | Result | '*' | Error. Terminate if error. |
5.2 | out | String | Public key | - | - |
6 | out | Byte | Result | see below | - |
6 | out | Byte | Result | '#' | Good bye, terminate. |
6 | out | Byte | Result | '?' | Invalid action, terminate. |