Re: [nottingham] Redhat PAM issue suggestion

From: Graeme Fowler (graeme@graemef.net)
Date: Fri 05 Apr 2002 - 22:07:03 BST


On Friday, April 5, 2002, at 09:49 PM, Matthew Sackman wrote:
> Well, I don't know how to set it up, but you could try running it via
> strace to see if you can see any obvious problems there.

OK, here you go - notwithstanding the fact that you have to have some
sort of shell open to run it, and that you should be root for maximum
effect. Let's say that you're attempting to login using SSH to your
local machine, for example:

# strace -f -F -v -p <pid of sshd> 2>&1 | less

then attempt an SSH login. Keep scrolling thru the strace output, since
the use of less will make the whole thing pause due to buffering.

In your case, grab the PID of the xterm you already have open and then
do (from another one, as root):

# strace -f -F -v -p <pid of xterm> 2>&1 | less

and remember the scrolling thing. Watch out for the output of the
failure message to the terminal or logs, and scroll back to see what the
problem is. Betcha it's a permissions problem, is all. Watch for
stat/lstat calls followed by "permission denied".

HTH

Graeme

--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------



This archive was generated by hypermail 2.1.3 : Fri 05 Apr 2002 - 22:07:31 BST