Re: TTYSnooping error

2016-10-29 Thread Thomas Schmitt
Hi, Nicolas George wrote: > Still, this code should be using PAM instead of reinventing the wheel > and making it octagonal. Looks like ttysnoop's wheel was invented one year before PAM's wheel. https://sources.debian.net/src/ttysnoop/0.12d-6/ttysnoops.c https://en.wikipedia.org/wiki/Pluggabl

Re: TTYSnooping error

2016-10-29 Thread Nicolas George
L'octidi 8 brumaire, an CCXXV, Thomas Schmitt a écrit : > Possibly something changed with the encryption in the result of > getpwnam() or getspnam(). When things change in the hashing of passwords, it is reflected in the prefix of the salt, which is given as second argument. Still, this code shou

Re: TTYSnooping error

2016-10-29 Thread Thomas Schmitt
Hi, 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 https://sources.debian.net/src/ttysnoop/0.12d-6/ttysnoops.c/#L411 It tries to compare the inquired encrypted password of SNOOPUSER with

Re: TTYSnooping error

2016-10-29 Thread Reco
Hi. On Sat, 29 Oct 2016 09:45:21 + Pietro wrote: > Hi, > > I have tried to write directly to the author (c...@miskatonic.inbe.net) > as reported in the man page but the domain does not exist anymore. It's an old tool. Such things are to be expected. > I am lost in a glass of wate

TTYSnooping error

2016-10-29 Thread Pietro
Hi, I have tried to write directly to the author (c...@miskatonic.inbe.net) as reported in the man page but the domain does not exist anymore. I am lost in a glass of water - as we use to say in Italy - and I really do not know where to get some light from as Google is very good .. in giving par