Re: can't login as anyone - not even as root!

2003-08-29 Thread Dave Banning
--- Jerry McAllister <[EMAIL PROTECTED]> 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 den

Re: can't login as anyone - not even as root!

2003-08-29 Thread Dave Banning
> Hmm.. Pretty long but only the last few screens are important. Problem's > kinda weird, > really. This is a *LAST DITCH EFFORT*, but try this. It may work. (Note: > this assumes > you've got system sources around). > > OK boot -s > # mkdir /var/oldpwd > # mv /etc/master.passwd /etc/passwd /etc/

Re: can't login as anyone - not even as root!

2003-08-29 Thread Jerry McAllister
> > 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

Re: can't login as anyone - not even as root!

2003-08-29 Thread horio shoichi
On Thu, 28 Aug 2003 21:40:20 -0700 (PDT) Dave Banning <[EMAIL PROTECTED]> 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:

Re: can't login as anyone - not even as root!

2003-08-29 Thread Sunil Sunder Raj
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 <[EMAIL PROTECTED]> To: Sunil Sunder Raj <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: can't login as anyone - not even a

Re: can't login as anyone - not even as root!

2003-08-29 Thread Dave Banning
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; #

Re: can't login as anyone - not even as root!

2003-08-29 Thread Sunil Sunder Raj
Hi, STEPS = As the os(FREEBSD) is starting it will display the following message: Hit [Enter] to boot immediately, or any other key for command prompt. Booting [kernel ] in 10 seconds... You should now ress the space bar, and you will see the following message: Type '?' for a list of comman

RE: can't login as anyone - not even as root!

2003-08-29 Thread Charles Howse
> > >I didn't forget my password. I simply can't login. No one > can login. > > >Even when my root password is set to nil I can't login. > > > > Not even in single user mode? There is no login in single > user mode, > > you are root by default with no password. > > Yes, I get the root # prompt

RE: can't login as anyone - not even as root!

2003-08-28 Thread Charles Howse
> All of a sudden, I can't login, even as root. I tried to set the > password of root to nil (because I happened to be logged in as root at > the time) and that didn't work either. > > Then, thinking that the machine was acting up, I rebooted. > Now I am in > deeper. I can't even access the mac

Re: can't login as anyone - not even as root!

2003-08-28 Thread Joshua Oreman
...] Booting [kernel] in 9 seconds... OK boot -s [ ... ] use /bin/sh fsck -p mount -a ktrace -o /root/login.out login root Password: Login failed kdump /root/login.out | mail [EMAIL PROTECTED] -s "Re: can't login as anyone - not even as root!" Note: my syntax