Date: Fri, 29 Aug 2003 11:43:26 +0530 From: "Sunil Sunder Raj" <unixtools@hotmail.com> To: sky_tracker@yahoo.com Cc: questions@freebsd.org Subject: Re: can't login as anyone - not even as root! Message-ID: <BAY8-F219CIElR3n4DV000086f3@hotmail.com>
next in thread | raw e-mail | index | archive | help
Hi, If the problem still exists try get master.passwd from /var/backups run the command # pwd_mkdb /etc/master.passwd Regards SSR >From: Dave Banning <sky_tracker@yahoo.com> >To: Sunil Sunder Raj <unixtools@hotmail.com> >CC: questions@freebsd.org >Subject: Re: can't login as anyone - not even as root! >Date: Thu, 28 Aug 2003 21:40:20 -0700 (PDT) > >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 > >and permissions are as follows; > ># ls -tld /etc >drwxr-xr-x 17 root wheel 2560 Aug 28 09:16 /etc > ># ls -tld /etc/pwd.db >drw---r-- 1 root wheeel 40960 Aug 28 09:12 /etc/pwd.db > >I -can- execute vipw and change passwords. It updates all the files >master.passwd, spwd.db, passwd, and pwd.db without error. > > > >__________________________________ >Do you Yahoo!? >The New Yahoo! Search - Faster. Easier. Bingo. >http://search.yahoo.com _________________________________________________________________ Access Hotmail from your mobile now. http://server1.msn.co.in/sp03/mobilesms/ Click here.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY8-F219CIElR3n4DV000086f3>