Re: su to root not prompting for a password

2006-04-17 Thread Dan Nelson
In the last episode (Apr 17), James Riendeau said:
> Thanks!  I didn't think it was so simple, and I feel like a lunkhead
> for not thinking of that.  I'm accustomed to being prompted for the
> user's password when I run su, even if it is blank (I've been
> spending way too much time on Mac OS X, I guess).  I must have
> clobbered only the root password.  Nobody else complained about being
> unable to login after the upgrade.  Not sure how that happened since
> I was so careful, especially when it got to master.passwd.

There's also a copy of the previous 2 revisions of master.passwd stored
in /var/backups , if you want to make sure nothing else is missing.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: su to root not prompting for a password

2006-04-17 Thread James Riendeau
Thanks!  I didn't think it was so simple, and I feel like a lunkhead  
for not thinking of that.  I'm accustomed to being prompted for the  
user's password when I run su, even if it is blank (I've been  
spending way too much time on Mac OS X, I guess).   I must have  
clobbered only the root password.  Nobody else complained about being  
unable to login after the upgrade.  Not sure how that happened since  
I was so careful, especially when it got to master.passwd.


-james


You probably clobbered master.passwd when you mergemastered. In all
probability, root now has no password at all. Set one with passwd.

Petersen


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: su to root not prompting for a password

2006-04-17 Thread Petersen
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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: su to root not prompting for a password

2006-04-17 Thread Glenn Dawson

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.

-Glenn



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.

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: [EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


su to root not prompting for a password

2006-04-17 Thread James Riendeau
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.


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: [EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"