OpenSolaris

Printable Version Enter a New Search
Bug ID 6213311
Synopsis zlogin should allow only one escape character to be specified for '-e' option.
State 3-Accepted (Yes, that is a problem)
Category:Subcategory utility:zones
Keywords oss-bite-size | zones
Sponsor
Submitter
Reported Against s10_74
Duplicate Of
Introduced In
Commit to Fix
Fixed In
Release Fixed
Related Bugs
Submit Date 3-January-2005
Last Update Date 11-April-2008
Description
A customer report:

http://supportforum.sun.com/sunos/index.php?t=msg&goto=5374&rid=0#msg_5374

Indicates a minor usability problem with zlogin: it's possible to pass more
than one character to zlogin, perhaps in an attempt to escape the escape
character:

# zlogin -e /@ myzone

This sets the escape character to '/', not @ as was intended.

zlogin should only allow one escape character, and otherwise emit a message.
Additionally, we should consider echoing the escape character back to the
user, as with telnet.  One idea:

# zlogin -e /@ myzone
[Connected to zone 'myzone' pts/6.  Escape character is '/']

# zlogin -E myzone
[Connected to zone 'myzone' pts/6.  Escape character disabled]

This would also aid the user in cases where they aren't invoking zlogin
directly (as with the various 'console server' solutions people have come
up with).
 xxxxx@xxxxx.com 2005-1-03 02:25:08 GMT
Work Around
N/A
Comments
N/A