[comp.dcom.sys.cisco] Strange parse behavior on entering a password

tsf@opus.telcom.arizona.edu (Ted Frohling) (07/06/90)

We ran into a strange problem with passwords on the vty terminals on 
our Cisco routers (well at least one).  We usually have a config
file set up on a tftp host ready for the initial load on the router after
the initial power up.  So after we wait for the router to time out and
ask us to get started, we go into config and tell it to config from the 
net, saves typing...


We a strange thing happend on the way there.  When we created our 
config file, we inadvertently put a space character after the real
password for each of the vty lines.  i.e. password foopass \n.
When the router booted, it parsed the space after foopass and the newline
as part of the password.  We didn't tryit, but does this mean we could
have passwords of the kind...password this is a password\n, so that
the password would contain the spaces?

Could be useful in security, who whould think of a space as valid character
in a password.  But it's a pain when it's inadvertent.
--
Ted Frohling                         tsf@arizona.edu
The University of Arizona            602.621.4834
University Telecommunications
Tucson, AZ  85721