Re: Cannot login to root account on FreeBSD 7.0
Uit een eerder bericht (31-10-2008 14:29): But now I've faced a big problem, I can no longer seem to login to the root account where whenever I supply the proper credentials to the login screen, I always get thrown back to the login screen. Stupid question perhaps: do you try to login locally of thru SSH/Terminal session? Jos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
On Fri, Oct 31, 2008 at 09:36:17AM -0700, mdh wrote: > Right - sorry, my bad on that one. But do substitute -ggdb for your -g, as > that'll give us GDB-specific debugging symbols. Best not to take any chances. Use both: -g3 -ggdb :-) -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
Right - sorry, my bad on that one. But do substitute -ggdb for your -g, as that'll give us GDB-specific debugging symbols. - mdh --- On Fri, 10/31/08, Mel <[EMAIL PROTECTED]> wrote: > > Build it for debugging. cd to the directory > /usr/src/bin/csh, and run the > > following commands: `CFLAGS='-ggdb' make`, > then run `make install`. > > > No, we don't do that. We run: > make DEBUG_FLAGS=-g clean all install > > because: > a) setting CFLAGS omits CFLAGS from the bsd build system > and that's not > advised > b) setting DEBUG_FLAGS disables strip on install (strip > strips the debug > symbols) > > -- > Mel > > Problem with today's modular software: they start with > the modules > and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
On Fri, 31 Oct 2008 21:24:52 +0530, Pramod Dematagoda <[EMAIL PROTECTED]> wrote: > I changed the shell to /bin/sh and it > now seems to work fine, but really saying, sh seems to be crippled > compared to csh, so I would like to get back to csh. Please don't get confused: The Bourne Shell sh is to be considered a batch shell primarily, it's not a dialog shell in the first place. This is what the Bourne Again Shell bash would be mentioned as. You can install it via "pkg_add -r bash" and then use it (note that it's /usr/local/bin/bash then, not /bin/bash as in Linux). You can use the chsh command to do this. What does happen if you start a C Shell session from within the working sh? Like this: $ csh [EMAIL PROTECTED]:~% _ Does this work? Personally, the C shell is my favourite dialog shell, allthough zsh and ksh, both available for FreeBSD, are powerful tools, too. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
On Friday 31 October 2008 17:13:14 mdh wrote: > --- On Fri, 10/31/08, Pramod Dematagoda <[EMAIL PROTECTED]> wrote: > > From: Pramod Dematagoda <[EMAIL PROTECTED]> > > Subject: Re: Cannot login to root account on FreeBSD 7.0 > > To: [EMAIL PROTECTED] > > Cc: "FreeBSD ML" > > Date: Friday, October 31, 2008, 12:00 PM > > > > On Fri, 2008-10-31 at 08:19 -0700, mdh wrote: > > > --- On Fri, 10/31/08, Pramod Dematagoda > > > > <[EMAIL PROTECTED]> wrote: > > > > From: Pramod Dematagoda > > > > <[EMAIL PROTECTED]> > > > > > > Subject: Re: Cannot login to root account on > > > > FreeBSD 7.0 > > > > > > To: "Mel" > > > > <[EMAIL PROTECTED]> > > > > > > Cc: "FreeBSD ML" > > > > > > > > > > Date: Friday, October 31, 2008, 11:09 AM > > > > > > > > On Fri, 2008-10-31 at 16:00 +0100, Mel wrote: > > > > > On Friday 31 October 2008 15:53:23 Pramod > > > > Dematagoda > > > > > > wrote: > > > > > > On Fri, 2008-10-31 at 07:09 -0700, > > > > Jeremy > > > > > > Chadwick wrote: > > > > > > > On Fri, Oct 31, 2008 at 06:59:04PM > > > > +0530, > > > > > > Pramod Dematagoda wrote: > > > > > > > > But now I've faced a big > > > > problem, I > > > > > > can no longer seem to login to the > > > > > > > > > > > > root account where whenever I > > > > supply > > > > > > the proper credentials to the > > > > > > > > > > > > login screen, I always get > > > > thrown back > > > > > > to the login screen. This > > > > > > > > > > > > started happening after I > > > > installed > > > > > > D-bus and HAL through the FreeBSD > > > > > > > > > > > > ports which were built upon > > > > Xorg 1.5.1 > > > > > > which I had built myself > > > > > > > > > > > > previously, so I am wondering > > > > if > > > > > > something I did may have caused the > > > > > > > > > > > > problem. > > > > > > > > > > > > > > Reboot the machine and at the > > > > FreeBSD > > > > > > beastie/loader menu, hit "4" to > > > > > > > > > > > boot into single-user mode. Once > > > > there, do: > > > > > > > # mount -a > > > > > > > # mount -o rw -u / > > > > > > > # passwd root > > > > > > > > > > > > > > And change the password. > > > > "reboot" > > > > > > and you should be good to go. > > > > > > > > > > Hey Jeremy, > > > > > > > > > > > > Thanks for looking into the problem, > > > > but > > > > > > unfortunately your solution did > > > > > > > > > > not work, I changed the root password > > > > to > > > > > > something else, however I still > > > > > > > > > > cannot login to root once I boot > > > > FreeBSD > > > > > > normally. > > > > > > > > > There should be in indication in > > > > /var/log/messages or > > > > > > /var/log/auth.log. > > > > > > > > I checked /var/log/messages, and I found > > > > something > > > > > > interesting, it seems > > > > that csh exits with signal 11(core dumped) right > > > > after a > > > > > > root login, > > > > there is nothing out of the ordinary in auth.log. > > > > But now > > > > > > what do I do > > > > to fix the problem, change the shell? > > > > > > Yeowzers. > > > Change it to /bin/sh for now. Once you're back > > > > up, it'd be interesting to debug this. Would you like > > to? > > > > > - mdh > > > > I found something a bit more interesting, csh crashes > > regardless of the > > user account to which it is used for, so something is wrong > > with csh > > itself and not the root account. > > > > Regards, > > Pramod Dematagoda > > First, please post the output of `uname -a`. It'd be useful to know when > you grabbed sources last, if you've built your own world at all, as well. > This information is necessary before we continue. Also please post the > output from the commands `ls -l /bin/csh` and `md5 /bin/csh`. > > While in sh, if you type /bin/csh to run csh, does it crash, or does it > seem proper? If it seems proper, try and few commands and see if it still > does. If it crashes, let's try some debugging. You should have a csh.core > file, probably in /root. Run the command `gdb /bin/csh /root/csh.core` > (replacing /root/csh.core to whatever path csh.core is in, if it's not in > /root), and post the output to this list along with everything else I've > asked for. > > Do that now. If that still doesn't work, I'm going to tell you to... > > Build it for debugging. cd to the directory /usr/src/bin/csh, and run the > following commands: `CFLAGS='-ggdb' make`, then run `make install`. No, we don't do that. We run: make DEBUG_FLAGS=-g clean all install because: a) setting CFLAGS omits CFLAGS from the bsd build system and that's not advised b) setting DEBUG_FLAGS disables strip on install (strip strips the debug symbols) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
--- On Fri, 10/31/08, Pramod Dematagoda <[EMAIL PROTECTED]> wrote: > From: Pramod Dematagoda <[EMAIL PROTECTED]> > Subject: Re: Cannot login to root account on FreeBSD 7.0 > To: [EMAIL PROTECTED] > Cc: "FreeBSD ML" > Date: Friday, October 31, 2008, 12:00 PM > On Fri, 2008-10-31 at 08:19 -0700, mdh wrote: > > --- On Fri, 10/31/08, Pramod Dematagoda > <[EMAIL PROTECTED]> wrote: > > > From: Pramod Dematagoda > <[EMAIL PROTECTED]> > > > Subject: Re: Cannot login to root account on > FreeBSD 7.0 > > > To: "Mel" > <[EMAIL PROTECTED]> > > > Cc: "FreeBSD ML" > > > > Date: Friday, October 31, 2008, 11:09 AM > > > On Fri, 2008-10-31 at 16:00 +0100, Mel wrote: > > > > On Friday 31 October 2008 15:53:23 Pramod > Dematagoda > > > wrote: > > > > > On Fri, 2008-10-31 at 07:09 -0700, > Jeremy > > > Chadwick wrote: > > > > > > On Fri, Oct 31, 2008 at 06:59:04PM > +0530, > > > Pramod Dematagoda wrote: > > > > > > > But now I've faced a big > problem, I > > > can no longer seem to login to the > > > > > > > root account where whenever I > supply > > > the proper credentials to the > > > > > > > login screen, I always get > thrown back > > > to the login screen. This > > > > > > > started happening after I > installed > > > D-bus and HAL through the FreeBSD > > > > > > > ports which were built upon > Xorg 1.5.1 > > > which I had built myself > > > > > > > previously, so I am wondering > if > > > something I did may have caused the > > > > > > > problem. > > > > > > > > > > > > Reboot the machine and at the > FreeBSD > > > beastie/loader menu, hit "4" to > > > > > > boot into single-user mode. Once > there, do: > > > > > > > > > > > > # mount -a > > > > > > # mount -o rw -u / > > > > > > # passwd root > > > > > > > > > > > > And change the password. > "reboot" > > > and you should be good to go. > > > > > > > > > > Hey Jeremy, > > > > > > > > > > Thanks for looking into the problem, > but > > > unfortunately your solution did > > > > > not work, I changed the root password > to > > > something else, however I still > > > > > cannot login to root once I boot > FreeBSD > > > normally. > > > > > > > > There should be in indication in > /var/log/messages or > > > /var/log/auth.log. > > > > > > > I checked /var/log/messages, and I found > something > > > interesting, it seems > > > that csh exits with signal 11(core dumped) right > after a > > > root login, > > > there is nothing out of the ordinary in auth.log. > But now > > > what do I do > > > to fix the problem, change the shell? > > > > Yeowzers. > > Change it to /bin/sh for now. Once you're back > up, it'd be interesting to debug this. Would you like > to? > > - mdh > > I found something a bit more interesting, csh crashes > regardless of the > user account to which it is used for, so something is wrong > with csh > itself and not the root account. > > Regards, > Pramod Dematagoda First, please post the output of `uname -a`. It'd be useful to know when you grabbed sources last, if you've built your own world at all, as well. This information is necessary before we continue. Also please post the output from the commands `ls -l /bin/csh` and `md5 /bin/csh`. While in sh, if you type /bin/csh to run csh, does it crash, or does it seem proper? If it seems proper, try and few commands and see if it still does. If it crashes, let's try some debugging. You should have a csh.core file, probably in /root. Run the command `gdb /bin/csh /root/csh.core` (replacing /root/csh.core to whatever path csh.core is in, if it's not in /root), and post the output to this list along with everything else I've asked for. Do that now. If that still doesn't work, I'm going to tell you to... Build it for debugging. cd to the directory /usr/src/bin/csh, and run the following commands: `CFLAGS='-ggdb' make`, then run `make install`. Once that's done, try /bin/csh again and if it crashes again, run `gdb /bin/csh` - when it crashes this time If you do
Re: Cannot login to root account on FreeBSD 7.0
On Fri, 2008-10-31 at 08:19 -0700, mdh wrote: > --- On Fri, 10/31/08, Pramod Dematagoda <[EMAIL PROTECTED]> wrote: > > From: Pramod Dematagoda <[EMAIL PROTECTED]> > > Subject: Re: Cannot login to root account on FreeBSD 7.0 > > To: "Mel" <[EMAIL PROTECTED]> > > Cc: "FreeBSD ML" > > Date: Friday, October 31, 2008, 11:09 AM > > On Fri, 2008-10-31 at 16:00 +0100, Mel wrote: > > > On Friday 31 October 2008 15:53:23 Pramod Dematagoda > > wrote: > > > > On Fri, 2008-10-31 at 07:09 -0700, Jeremy > > Chadwick wrote: > > > > > On Fri, Oct 31, 2008 at 06:59:04PM +0530, > > Pramod Dematagoda wrote: > > > > > > But now I've faced a big problem, I > > can no longer seem to login to the > > > > > > root account where whenever I supply > > the proper credentials to the > > > > > > login screen, I always get thrown back > > to the login screen. This > > > > > > started happening after I installed > > D-bus and HAL through the FreeBSD > > > > > > ports which were built upon Xorg 1.5.1 > > which I had built myself > > > > > > previously, so I am wondering if > > something I did may have caused the > > > > > > problem. > > > > > > > > > > Reboot the machine and at the FreeBSD > > beastie/loader menu, hit "4" to > > > > > boot into single-user mode. Once there, do: > > > > > > > > > > # mount -a > > > > > # mount -o rw -u / > > > > > # passwd root > > > > > > > > > > And change the password. "reboot" > > and you should be good to go. > > > > > > > > Hey Jeremy, > > > > > > > > Thanks for looking into the problem, but > > unfortunately your solution did > > > > not work, I changed the root password to > > something else, however I still > > > > cannot login to root once I boot FreeBSD > > normally. > > > > > > There should be in indication in /var/log/messages or > > /var/log/auth.log. > > > > > I checked /var/log/messages, and I found something > > interesting, it seems > > that csh exits with signal 11(core dumped) right after a > > root login, > > there is nothing out of the ordinary in auth.log. But now > > what do I do > > to fix the problem, change the shell? > > Yeowzers. > Change it to /bin/sh for now. Once you're back up, it'd be interesting to > debug this. Would you like to? > - mdh I found something a bit more interesting, csh crashes regardless of the user account to which it is used for, so something is wrong with csh itself and not the root account. Regards, Pramod Dematagoda ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
On Fri, 2008-10-31 at 08:26 -0700, Jeremy Chadwick wrote: > On Fri, Oct 31, 2008 at 08:15:25AM -0700, Jeremy Chadwick wrote: > > Are you sure this machine does not have hardware problems? Please > > download and run memtest86++ from a CD. You shouldn't have to run this > > very long (15-20 minutes at tops in this case); errors will be quite > > obvious. > > Oops, this should have been memtest86+. :-) > > http://www.memtest.org/ > I did the memtest and it passed. I changed the shell to /bin/sh and it now seems to work fine, but really saying, sh seems to be crippled compared to csh, so I would like to get back to csh. I can help you guys debug the problem, but I am not a debug wizard, so please forgive me if I am slow on the uptake of some of your instructions:). Regards, Pramod Dematagoda ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
On Fri, Oct 31, 2008 at 08:15:25AM -0700, Jeremy Chadwick wrote: > Are you sure this machine does not have hardware problems? Please > download and run memtest86++ from a CD. You shouldn't have to run this > very long (15-20 minutes at tops in this case); errors will be quite > obvious. Oops, this should have been memtest86+. :-) http://www.memtest.org/ -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
--- On Fri, 10/31/08, Pramod Dematagoda <[EMAIL PROTECTED]> wrote: > From: Pramod Dematagoda <[EMAIL PROTECTED]> > Subject: Re: Cannot login to root account on FreeBSD 7.0 > To: "Mel" <[EMAIL PROTECTED]> > Cc: "FreeBSD ML" > Date: Friday, October 31, 2008, 11:09 AM > On Fri, 2008-10-31 at 16:00 +0100, Mel wrote: > > On Friday 31 October 2008 15:53:23 Pramod Dematagoda > wrote: > > > On Fri, 2008-10-31 at 07:09 -0700, Jeremy > Chadwick wrote: > > > > On Fri, Oct 31, 2008 at 06:59:04PM +0530, > Pramod Dematagoda wrote: > > > > > But now I've faced a big problem, I > can no longer seem to login to the > > > > > root account where whenever I supply > the proper credentials to the > > > > > login screen, I always get thrown back > to the login screen. This > > > > > started happening after I installed > D-bus and HAL through the FreeBSD > > > > > ports which were built upon Xorg 1.5.1 > which I had built myself > > > > > previously, so I am wondering if > something I did may have caused the > > > > > problem. > > > > > > > > Reboot the machine and at the FreeBSD > beastie/loader menu, hit "4" to > > > > boot into single-user mode. Once there, do: > > > > > > > > # mount -a > > > > # mount -o rw -u / > > > > # passwd root > > > > > > > > And change the password. "reboot" > and you should be good to go. > > > > > > Hey Jeremy, > > > > > > Thanks for looking into the problem, but > unfortunately your solution did > > > not work, I changed the root password to > something else, however I still > > > cannot login to root once I boot FreeBSD > normally. > > > > There should be in indication in /var/log/messages or > /var/log/auth.log. > > > I checked /var/log/messages, and I found something > interesting, it seems > that csh exits with signal 11(core dumped) right after a > root login, > there is nothing out of the ordinary in auth.log. But now > what do I do > to fix the problem, change the shell? Yeowzers. Change it to /bin/sh for now. Once you're back up, it'd be interesting to debug this. Would you like to? - mdh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
On Fri, Oct 31, 2008 at 08:39:46PM +0530, Pramod Dematagoda wrote: > On Fri, 2008-10-31 at 16:00 +0100, Mel wrote: > > On Friday 31 October 2008 15:53:23 Pramod Dematagoda wrote: > > > On Fri, 2008-10-31 at 07:09 -0700, Jeremy Chadwick wrote: > > > > On Fri, Oct 31, 2008 at 06:59:04PM +0530, Pramod Dematagoda wrote: > > > > > But now I've faced a big problem, I can no longer seem to login to the > > > > > root account where whenever I supply the proper credentials to the > > > > > login screen, I always get thrown back to the login screen. This > > > > > started happening after I installed D-bus and HAL through the FreeBSD > > > > > ports which were built upon Xorg 1.5.1 which I had built myself > > > > > previously, so I am wondering if something I did may have caused the > > > > > problem. > > > > > > > > Reboot the machine and at the FreeBSD beastie/loader menu, hit "4" to > > > > boot into single-user mode. Once there, do: > > > > > > > > # mount -a > > > > # mount -o rw -u / > > > > # passwd root > > > > > > > > And change the password. "reboot" and you should be good to go. > > > > > > Hey Jeremy, > > > > > > Thanks for looking into the problem, but unfortunately your solution did > > > not work, I changed the root password to something else, however I still > > > cannot login to root once I boot FreeBSD normally. > > > > There should be in indication in /var/log/messages or /var/log/auth.log. > > > I checked /var/log/messages, and I found something interesting, it seems > that csh exits with signal 11(core dumped) right after a root login, > there is nothing out of the ordinary in auth.log. But now what do I do > to fix the problem, change the shell? csh should not sig11. Are you sure this machine does not have hardware problems? Please download and run memtest86++ from a CD. You shouldn't have to run this very long (15-20 minutes at tops in this case); errors will be quite obvious. You can try changing the shell to /bin/sh, but this is not recommended (meaning, if/when you get the system working again, please change it back to /bin/csh -- I can't stress this enough). You can change the shell by following the above steps I gave you, but using "chsh" instead of "passwd root". -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
On Fri, 2008-10-31 at 16:00 +0100, Mel wrote: > On Friday 31 October 2008 15:53:23 Pramod Dematagoda wrote: > > On Fri, 2008-10-31 at 07:09 -0700, Jeremy Chadwick wrote: > > > On Fri, Oct 31, 2008 at 06:59:04PM +0530, Pramod Dematagoda wrote: > > > > But now I've faced a big problem, I can no longer seem to login to the > > > > root account where whenever I supply the proper credentials to the > > > > login screen, I always get thrown back to the login screen. This > > > > started happening after I installed D-bus and HAL through the FreeBSD > > > > ports which were built upon Xorg 1.5.1 which I had built myself > > > > previously, so I am wondering if something I did may have caused the > > > > problem. > > > > > > Reboot the machine and at the FreeBSD beastie/loader menu, hit "4" to > > > boot into single-user mode. Once there, do: > > > > > > # mount -a > > > # mount -o rw -u / > > > # passwd root > > > > > > And change the password. "reboot" and you should be good to go. > > > > Hey Jeremy, > > > > Thanks for looking into the problem, but unfortunately your solution did > > not work, I changed the root password to something else, however I still > > cannot login to root once I boot FreeBSD normally. > > There should be in indication in /var/log/messages or /var/log/auth.log. > I checked /var/log/messages, and I found something interesting, it seems that csh exits with signal 11(core dumped) right after a root login, there is nothing out of the ordinary in auth.log. But now what do I do to fix the problem, change the shell? Regards, Pramod Dematagoda ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
--- On Fri, 10/31/08, Pramod Dematagoda <[EMAIL PROTECTED]> wrote: > From: Pramod Dematagoda <[EMAIL PROTECTED]> > Subject: Re: Cannot login to root account on FreeBSD 7.0 > To: "Jeremy Chadwick" <[EMAIL PROTECTED]> > Cc: freebsd-questions@freebsd.org > Date: Friday, October 31, 2008, 10:53 AM > On Fri, 2008-10-31 at 07:09 -0700, Jeremy Chadwick wrote: > > On Fri, Oct 31, 2008 at 06:59:04PM +0530, Pramod > Dematagoda wrote: > > > But now I've faced a big problem, I can no > longer seem to login to the > > > root account where whenever I supply the proper > credentials to the login > > > screen, I always get thrown back to the login > screen. This started > > > happening after I installed D-bus and HAL through > the FreeBSD ports > > > which were built upon Xorg 1.5.1 which I had > built myself previously, so > > > I am wondering if something I did may have caused > the problem. > > > > Reboot the machine and at the FreeBSD beastie/loader > menu, hit "4" to > > boot into single-user mode. Once there, do: > > > > # mount -a > > # mount -o rw -u / > > # passwd root > > > > And change the password. "reboot" and you > should be good to go. > > > Hey Jeremy, > > Thanks for looking into the problem, but unfortunately your > solution did > not work, I changed the root password to something else, > however I still > cannot login to root once I boot FreeBSD normally. > > Regards, > Pramod Dematagoda Try going through those steps again (single user mode, the mount commands) and then looking at your system logs in /var/log. The logs should have failed authentication messages that explain what's going wrong. - mdh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
On Friday 31 October 2008 15:53:23 Pramod Dematagoda wrote: > On Fri, 2008-10-31 at 07:09 -0700, Jeremy Chadwick wrote: > > On Fri, Oct 31, 2008 at 06:59:04PM +0530, Pramod Dematagoda wrote: > > > But now I've faced a big problem, I can no longer seem to login to the > > > root account where whenever I supply the proper credentials to the > > > login screen, I always get thrown back to the login screen. This > > > started happening after I installed D-bus and HAL through the FreeBSD > > > ports which were built upon Xorg 1.5.1 which I had built myself > > > previously, so I am wondering if something I did may have caused the > > > problem. > > > > Reboot the machine and at the FreeBSD beastie/loader menu, hit "4" to > > boot into single-user mode. Once there, do: > > > > # mount -a > > # mount -o rw -u / > > # passwd root > > > > And change the password. "reboot" and you should be good to go. > > Hey Jeremy, > > Thanks for looking into the problem, but unfortunately your solution did > not work, I changed the root password to something else, however I still > cannot login to root once I boot FreeBSD normally. There should be in indication in /var/log/messages or /var/log/auth.log. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
On Fri, 2008-10-31 at 07:09 -0700, Jeremy Chadwick wrote: > On Fri, Oct 31, 2008 at 06:59:04PM +0530, Pramod Dematagoda wrote: > > But now I've faced a big problem, I can no longer seem to login to the > > root account where whenever I supply the proper credentials to the login > > screen, I always get thrown back to the login screen. This started > > happening after I installed D-bus and HAL through the FreeBSD ports > > which were built upon Xorg 1.5.1 which I had built myself previously, so > > I am wondering if something I did may have caused the problem. > > Reboot the machine and at the FreeBSD beastie/loader menu, hit "4" to > boot into single-user mode. Once there, do: > > # mount -a > # mount -o rw -u / > # passwd root > > And change the password. "reboot" and you should be good to go. > Hey Jeremy, Thanks for looking into the problem, but unfortunately your solution did not work, I changed the root password to something else, however I still cannot login to root once I boot FreeBSD normally. Regards, Pramod Dematagoda ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cannot login to root account on FreeBSD 7.0
On Fri, Oct 31, 2008 at 06:59:04PM +0530, Pramod Dematagoda wrote: > But now I've faced a big problem, I can no longer seem to login to the > root account where whenever I supply the proper credentials to the login > screen, I always get thrown back to the login screen. This started > happening after I installed D-bus and HAL through the FreeBSD ports > which were built upon Xorg 1.5.1 which I had built myself previously, so > I am wondering if something I did may have caused the problem. Reboot the machine and at the FreeBSD beastie/loader menu, hit "4" to boot into single-user mode. Once there, do: # mount -a # mount -o rw -u / # passwd root And change the password. "reboot" and you should be good to go. -- | Jeremy Chadwickjdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Cannot login to root account on FreeBSD 7.0
Hey there, I am a user of FreeBSD-7.0 and I must say that I am really impressed with it, I must admit though that I used to be(still am) a Linux user, so the switch wasn't that easy but I managed to do it with help from the FreeBSD handbook(My thanks go to the authors of that excellent guide). But now I've faced a big problem, I can no longer seem to login to the root account where whenever I supply the proper credentials to the login screen, I always get thrown back to the login screen. This started happening after I installed D-bus and HAL through the FreeBSD ports which were built upon Xorg 1.5.1 which I had built myself previously, so I am wondering if something I did may have caused the problem. Thanks in advance for any help on this problem. Regards, Pramod Dematagoda ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"