[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: TTYSnooping error


Pietro wrote:
> I really do not understand as I am sure I am typing the correct
> password, what's happening ?

I assume it is about the comparison after


It tries to compare the inquired encrypted password of SNOOPUSER
with the encrypted input text. SNOOPUSER is supposed to be user id 0,
i.e. superuser. (See ../config.h)
Possibly something changed with the encryption in the result of
getpwnam() or getspnam().

So if you replace the five lines "#ifndef ... #endif" by the single line

  if (1)

then you (and everybody else !) should at least get past the password check.

Have a nice day :)


Reply to: