[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: recover lost root password



> > Now when you log in as root, it will not ask for a password.
> excuse my rudeness but isnt that a Bad Thing?
> 
> what about ssh? does that leave the box totaly open?

Well, you could edit /etc/ssh/sshd_config and not allow root logins at
all. Log in as a regular user and then su root from there.

Question, though. I thought when you boot into single-user mode you're
already root and you can just change the root password by running
passwd. Is it different now?



Reply to: