Click to See Complete Forum and Search --> : Totally bizarre problem


kuber
01-27-2002, 01:10 AM
I just noticed that on my laptop I can login as root and get the password wrong yet still get in.

I can leave one character out and it logs me in anyway.
If I type in the complete password and then type anything after it and press enter, it lets me in. This is really strange.. Anyone have any idea what is going on here?
Thanks,
Kuber

sarah31
01-27-2002, 01:56 AM
Hey Kuber! I am fed up trying to get Darwin connected via PPPoE now I want to put LFS on that partition. Can yo pass on any tricks that you had to do to configure LFS to the Mac (ie. booting)?

Strogian
01-27-2002, 02:36 AM
Is it longer than eight characters? I think I remember hearing that the password limit was eight characters for something.. you may be running into that. (And anything past 8 could be ignored, maybe?)

X_console
01-27-2002, 03:03 AM
Yes, anything past 8 characters is ignored, although it can be changed in /etc/login.defs by changing the value for PASS_MAX_LEN. It's strange though that it lets you in if the password is incomplete.

Ludootje
01-27-2002, 10:41 AM
with that topic, i'm about 99% sure to know your root password :p
i had the same, but with a default user. it's simply that if you choose "" (without the quotes :)) as your pass, so in fact no characters as your pass, you can type whatever you want, and the password will be accepted. so i suppose your root password is "", which is a VERY bad idea... if it's not "", than i don't know what the problem is, maybe what strogian said.

[ 27 January 2002: Message edited by: Ludootje ]

kuber
01-27-2002, 12:21 PM
Ludjootje,

No, it's not :p

My password is over 10 characters, and therefore it still works if I leave off a character. I found that if I leave off too many characters such that my password is less than 9 it won't work.

Thanks for the info!

kuber
01-27-2002, 03:22 PM
Sarah,
I started a thread in the ppc forum about lfs.