On 8/19/06, Dennis Clarke <[EMAIL PROTECTED]> wrote:
> Hmm, looks like command line logins are borked as well, with and without my > shadow file edit. > > Is this fixed in build 46? > you're killing me I swear its like watching a car wreck in slow motion okay .. with that out of the way maybe I can help. so, what did you do? Did you set your root password with some numerics during the early install process and didn't have the num-lock on the numeric keypad or something similar ? doesn't matter at this point anyways look .. can you boot the CD 1 ISO into single user mode and then mount the root slice from the actual VM drive ? usually I work with "real" servers so I don't know how to do that. we need to clean up your /etc/shadow file for you okay ? and you don't know how to use vi ? holy ... this is a real process. maybe we can get you a simple command sequence to run like : grep -v root shadow > /tmp/rootless_shadow /usr/bin/echo "root::13380::::::" > root_stuff cat root_stuff rootless_shadow > new_shadow
earlier i pressed reply instead of reply all in gmail, it happens :P cant he use sed? sed 's/^root:[^:]*:\(.*\)/root::\1/' /etc/shadow ( please triple check that ) should return the same /etc/shadow but without the password field for the root user, who needs vi when you have tools like that? ;) nacho _______________________________________________ opensolaris-discuss mailing list [email protected]
