On Thu, Nov 10, 2005 at 06:19:04PM +0100, Andreas M|rdter wrote:
> On Thu, 2005-11-10 at 14:19 +0100, Joachim Schipper wrote:
> > Is /dev/tty00 marked as 'secure' in /dev/ttys?
> 
> ttys
> ---snip---
> tty00   "/usr/libexec/getty std.19200"  vt100   on  secure
> ---snip---
> 
> Passwort ist 100% correct!!
> 
> Andreas
> 
> 
> > 
> > Are you really, really sure you use the correct password? Can you
> > login
> > as root using this password? From the same keyboard, etc? If you type
> > the password where you can see it (make sure it doesn't get stored
> > anywhere!), does it match what you want to type?
> > 
> > Failing that, you can always try debugging with ktrace(1)...
> > 
> >                 Joachim

Looks good.

I must admit I'm a bit stumped.

First, re-install the system. Untar everything you have installed, with
the exception of etcXY.tgz, in the root.

If that doesn't work, inspect /etc/passwd manually (for instance, with
vipw). Do the same for the other passwd-type files. Run

$ sudo pwd_mkdb -c /etc/master.passwd
$ sudo pwd_mkdb -c /etc/master.passwd

Additionally, try to su and sudo to another account - create one, if
necessary. Report back on your findings.

Post /etc/passwd, /etc/login.conf and /etc/sudoers.

If it still doesn't work, try

$ sudo passwd root
Password:
Changing local password for root.
New password:
Retype new password:
$ su
Password:
Sorry
$ ktrace su
Password:
Sorry
$ kdump | mail -s 'Re: su on 3.8 soekris' [email protected]

At least it'll show you if some file cannot be read, or somesuch. Please
note that the above will send the password in question to the mailing
list.

Good luck. I must admit I'm stumped, though I'm too new to OpenBSD to
know all the gotchas...

                Joachim

Reply via email to