Date: Fri, 29 Aug 2003 10:14:11 -0700 (PDT) From: Dave Banning <sky_tracker@yahoo.com> To: Jerry McAllister <jerrymc@clunix.cl.msu.edu> Cc: questions@freebsd.org Subject: Re: can't login as anyone - not even as root! Message-ID: <20030829171411.95050.qmail@web12801.mail.yahoo.com> In-Reply-To: <200308291356.h7TDu1lF002372@clunix.cl.msu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Jerry McAllister <jerrymc@clunix.cl.msu.edu> wrote: > > > > Thanks, Sunil for the steps, but I have tried that already. > > > > When I get to the # prompt in single user mode, I cannot use > > the passwd command. I get the error;; > > > > passwd: error opening database: /etc/pwd.db: Permission denied > > passwd: /etc/master.passwd: unchanged > > > > Sort of sounds like you didn't remount root. > When you come up in single user, root is mounted without write permission. > You need to remount it. mount -u / will do it although > supposedly doing a mount -a will effectively include that step as well. > Still, we always do the extra step, maybe for old times. While I believe the problem was in the permissions, -somewhere- I don't think it was as you are suggesting, becuase I -did- have enough permission to completely remove /etc and replace it with a backup /etc directory I had. I the end, I did a minimal install which over-wrote the basic boot files, and that did it. thanks for your comments - __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030829171411.95050.qmail>