Dave Miner wrote: > Mike Pogue wrote: >> Hey everybody...I had some comments/suggestions on the install >> mockup. Assuming that this is the right place to post them -- I've >> been thinking about how to make Solaris install an 11 (on a scale of >> 1 to 10...), so here's my first comment/suggestion(s). >> > > Yes, this is the place. > >> 1) On the root password screen, I would love to see a "password >> strength indicator", similar to what Google does here: >> >> https://www.google.com/accounts/NewAccount?continue=http%3A%2F%2Fwww.google.com%2F&hl=en >> >> >> >> >> Try typing something in the Choose a Password box, and it dynamically >> estimates the strength of your password. Nice. >> > > Interesting idea, I think I'd seen it other places, too, but it hadn't > occurred to me to use it here. We'll look into it.
While this is an interesting idea I have to comment that implementing this might actually be non trivial given that setting the root password by the install/config tools should really be done by calling the PAM function pam_chauthtok(3pam). That is to ensure that the password rules are followed. Or put another way the indicator of strength doesn't really belong in an install/config tool but "in" the pam_chauthtok(3pam) module. This could be problematic due to the current PAM message interface but I'm willing to try giving it a go - it might work okay. -- Darren J Moffat