su to root not prompting for a password
Petersen
petersen at petersen.plus.com
Mon Apr 17 16:56:51 UTC 2006
On Monday, April 17, 2006 5:45 PM James Riendeau wrote:
>
> I upgraded to 6.1 RC-1 from 5.4, and when I su to root, it's not
> prompting for a password. I created a new account, and it does the
> same thing there. If the user is in the wheel group, it
> drops to the
> # prompt. If not, it echos the BAD SU attempt error message. I
> think it has something to do with PAM, but the documentation is not
> exactly written for those of us who don't have MS/Ph.D.'s in
> computer
> science. Does anyone know how to fix this? I thought I
> followed all
> the directions in /usr/src/UPDATING, but I must have done something
> wrong, probably while using mergemaster.
>
> My apologies if this has already been asked, but the search function
> on lists.freebsd.org won't let me access other search result pages
> beyond the first, and google didn't help.
>
You probably clobbered master.passwd when you mergemastered. In all
probability, root now has no password at all. Set one with passwd.
Petersen
More information about the freebsd-questions
mailing list