IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Resetting ssh password
For some reason, ssh will not allow me to log in on my server box using the username/password combination for the main login on the box.

I can't pinpoint an event that would have caused this to happen, it used to work fine.

So, is there a way to reset the ssh passwords...not critical, as I don't go to the office much...but I do like to have access to the box when I'm away...and right now I don't.

Too much of today's music is fashionable crap dressed as artistry.Adrian Belew
New look in logs for PAM errors?


Peter
[link|http://www.no2id.net/|Don't Let The Terrorists Win]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
[link|http://kevan.org/brain.cgi?pwhysall|A better terminal emulator]
[image|http://i66.photobucket.com/albums/h262/pwhysall/Misc/saveus.png|0|Darwinia||]
New Getting a Parse error it seems
Too much of today's music is fashionable crap dressed as artistry.Adrian Belew
New What kind of parse errors?
logs entires please... or at least send me an e-mail with it... something.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
PGP key: 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0
Alternate Fingerprint: 455F E104 22CA  29C4 933F 9505 2B79 2AB2
New Re: What kind of parse errors?
Sep 9 23:37:40 localhost PAM-env[13968]: pam_parse: unknown option; read_env=1

However, it doesn't seem to be logging failures...just tried again and no log entries were made.

Going to check the config again.
Too much of today's music is fashionable crap dressed as artistry.Adrian Belew
New Found something...
[link|http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=396696|Ooops a typo]

Find
read_env in /etc/

as root or equivalent:

cd /etc
grep -r read_env *

And go through the list.

Fix the pam related one from "read_env" to be "readenv"
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
PGP key: 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0
Alternate Fingerprint: 455F E104 22CA  29C4 933F 9505 2B79 2AB2
New Thanks, checking that and reviewing the config...
work is interfering however.
Too much of today's music is fashionable crap dressed as artistry.Adrian Belew
New here is what I get from my machine:
After doing: grep -r readenv *

Remember its probably going to be one of the same lines. But yours will have read_env

pam.d/login:# parsing /etc/environment needs "readenv=1"\npam.d/login:session       required   pam_env.so readenv=1\npam.d/login:session       required   pam_env.so readenv=1 envfile=/etc/default/locale\npam.d/su:# parsing /etc/environment needs "readenv=1"\npam.d/su:session       required   pam_env.so readenv=1\npam.d/su:session       required   pam_env.so readenv=1 envfile=/etc/default/locale\npam.d/gdm:auth    required        pam_env.so readenv=1\npam.d/gdm:auth    required        pam_env.so readenv=1 envfile=/etc/default/locale\npam.d/gdm-autologin:auth    required        pam_env.so readenv=1\npam.d/gdm-autologin:auth    required        pam_env.so readenv=1 envfile=/etc/default/locale

--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
PGP key: 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0
Alternate Fingerprint: 455F E104 22CA  29C4 933F 9505 2B79 2AB2
New also check $ssh_path/etc/sshd_config
to see if any access rights have been changed by a recent tweak/upgrade
thanx,
bill
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free american and do not reflect the opinions of any person or company that I have had professional relations with in the past 51 years. meep

reach me at [link|mailto:bill.oxley@cox.net|mailto:bill.oxley@cox.net]
New Using Debian or Ubuntu on the machine?
Because, recently Debian had a PAM UPGRADE (with extended additional functionality) on testing(Lenny and of course SID before that) that forces any service that uses PAM to completely restart. Nothing works, unless you restart the service(s) affected.

With that said, the Debian upgrade should have notified you that "XXX XXX XXX" services need the restart.

It may not have included your needed service.

A reboot SHOULD definitely take care of this (being the big hammer it is)

Ubuntu also had a recent similar issue, but was more of an ABI bump, that was unavoidable to take care of an local exploit.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
PGP key: 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0
Alternate Fingerprint: 455F E104 22CA  29C4 933F 9505 2B79 2AB2
New Tried the big stick with no joy
Too much of today's music is fashionable crap dressed as artistry.Adrian Belew
New Please be a bit more forth coming with the "errors"
From the client end and from the server end...

It'd help us out a bit to help you.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
PGP key: 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0
Alternate Fingerprint: 455F E104 22CA  29C4 933F 9505 2B79 2AB2
New See me in my other posts!
[link|/forums/render/content/show?contentid=292665|Post #292665]
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
PGP key: 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0
Alternate Fingerprint: 455F E104 22CA  29C4 933F 9505 2B79 2AB2
New Reboot? At least you didn't say reformat and re-install. :)
Alex

Nobody has a more sacred obligation to obey the law than those who make the law. -- Sophocles (496? - 406 BCE)
     Resetting ssh password - (bepatient) - (13)
         look in logs for PAM errors? -NT - (pwhysall) - (6)
             Getting a Parse error it seems -NT - (bepatient) - (5)
                 What kind of parse errors? - (folkert) - (4)
                     Re: What kind of parse errors? - (bepatient) - (3)
                         Found something... - (folkert) - (2)
                             Thanks, checking that and reviewing the config... - (bepatient) - (1)
                                 here is what I get from my machine: - (folkert)
         also check $ssh_path/etc/sshd_config - (boxley)
         Using Debian or Ubuntu on the machine? - (folkert) - (4)
             Tried the big stick with no joy -NT - (bepatient) - (2)
                 Please be a bit more forth coming with the "errors" - (folkert) - (1)
                     See me in my other posts! - (folkert)
             Reboot? At least you didn't say reformat and re-install. :) -NT - (a6l6e6x)

Impossible.
55 ms