Red Hat Bugzilla – Bug 264841
anaconda vnc install rejects too-short password late, but never asks for longer version
Last modified: 2007-11-30 17:12:14 EST
I installed F7 with:
linux vnc vncpassword=foo vncconnect=host:5500
from a boot.iso. After a bit of tedious typing to find my http install source,
*then* it tells me my password is too short, must be 6 chars, and forces me to
Grudgingly, I do so, type:
linux vnc vncpassword=foobar vncconnect=host:5500
and install is happy - so happy, in fact, that it never asks me for a password.
This could be improved a few ways I suppose: if you reject a too-short password,
could the user type a new one at that point? If the password isn't going to be
used at all, could we not do the check at all? And if we're going to check, can
the check be earlier in the process?
(apologies for not testing this on F8... need to get this F7 box installed)
(actually, dialogs early in install to set up vnc would be nice, instead of
hiding it in a boot argument, IMHO... but that's an RFE I guess)
Currently it is not possible to actually use a password with a connection from
the server to the host (AFAIK). In any case, the fact that the "reverse"
connection does not ask for a password is no an anaconda bug, might want to
create a new one against vnc. I'll fiddle with the anaconda vnc code and get it
to ask for a 6 char password if the passwd is to small.
Created attachment 236271 [details]
Im going to hold up until f9, but this is the gist of the patch.
Created attachment 243331 [details]
vnc.py as a class