Поделиться через


Telnet Server User Lists (Windows Embedded CE 6.0)

1/6/2010

To determine the users who are allowed access to the Telnet server, you must include a list of user names in the registry. To do this, set the UserList registry value to include the list of users and groups who either have access or are denied access to the server. Set the UserList registry value in the HKEY_LOCAL_MACHINE\COMM\TELNETD subkey.

Examples

[HKEY_LOCAL_MACHINE\COMM\TELNETD] 
UserList="GladysL;AnnD;-KimY;@SomeGroup;-@villains"

Allows GladysL, AnnD, and the SomeGroup group, but restricts the KimY user and the villains group.

The asterisk or the at sign and the asterisk (* or @*) allows all users, and the combination of the hyphen and the asterisk, or the combination of the hyphen and the at sign and the asterisk (-* or -@*) denies all users.

The string is interpreted sequentially. In other words, if GladysL is member of the Finance group, the following strings will allow GladysL.

GladysL
@ Finance
@ Finance;GladysL
GladysL;@ Finance
@ Admins;-GladysL
GladysL;-@ Finance
GladysL;-GladysL
*;-GladysL;-@ Finance

The following strings will restrict GladysL.

-GladysL
-@ Finance
-GladysL;@ Finance
-@ Finance;GladysL
-GladysL;GladysL
-GladysL;*

Note

The asterisk () is a group and it must be marked as a group in the list. It is possible that parsers understand both the combination of the at sign and the asterisk (@) and the asterisk () syntax, but they always use the combination of the combination of the at sign and the asterisk (@) syntax.

See Also

Concepts

Telnet Server Registry Settings

Other Resources

Telnet Server Application Development