su to root not prompting for a password

Glenn Dawson glenn at
Mon Apr 17 16:54:00 UTC 2006

At 09:45 AM 4/17/2006, 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.

You likely installed the default passwd file, which has no password for root.

Assign a password to root and you'll be fine.


>My apologies if this has already been asked, but the search function
>on won't let me access other search result pages
>beyond the first, and google didn't help.
>Many thanks,
>James Riendeau
>MMI Computer Support Technician
>1300 University Ave
>Rm. 436, Dept. of MedMicro
>Madison, WI  53706
>Phone: (608) 262-3351
>After-hours Phone: (608) 260-2696
>Fax: (608) 262-8418
>Email: jtriende at
>freebsd-questions at mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list