--- 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
> 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/
>
> 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
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:
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
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;
#
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
> > >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
> 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
...]
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
10 matches
Mail list logo