Tracking PAM sessions...

Tracking PAM sessions...

Post by Roland Main » Thu, 13 Jul 2000 04:00:00



Hi !

----

Assuming Solaris 7/8:
Is there a simple way to "track" PAM sessions in syslog (open/close) or
would it be my job to write an own PAM session module which does this
(is there any PAM example source ?) ?

Is there a way to "list" all open PAM sessions (not the list of
logged-in users) ?

----

Bye,
Roland

--
  __ .  . __


  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 641 99-13193 FAX +49 641 99-41359

 
 
 

1. What does: fatal: PAM session setup failed: Permission denied mean???

Has anyone gottne this error? I have installed openssh on a FreeBSD 4.1
machine and
cannot seem to connect to it. I compiled openssh next to a Ultra1 with
Solaris8 and
it works fine on that machine.

Any ideas??

Ryan

oscar# ./sshd -d
debug: sshd version OpenSSH_2.2.0p1
debug: Seeding random number generator
debug: read DSA private key done
debug: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
Generating 768 bit RSA key.
debug: Seeding random number generator
RSA key generation complete.
debug: Received session key; encryption turned on.
debug: Installing crc compensation attack detector.
debug: Starting up PAM with username "desc"
debug: Attempting authentication for desc.
debug: PAM Password authentication accepted for user "desc"
Accepted password for desc from 192.168.1.2 port 1333
debug: PAM setting rhost to "winnie"
debug: session_new: init
debug: session_new: session 0
packet_set_maxsize: setting to 4096
debug: Allocating pty.
debug: Ignoring unsupported tty mode opcode 37 (0x25)
debug: Ignoring unsupported tty mode opcode 52 (0x34)
debug: Ignoring unsupported tty mode opcode 71 (0x47)
debug: Ignoring unsupported tty mode opcode 73 (0x49)
debug: Ignoring unsupported tty mode opcode 74 (0x4a)
debug: Ignoring unsupported tty mode opcode 75 (0x4b)
debug: PAM setting tty to "/dev/ttyp1"
fatal: PAM session setup failed: Permission denied
debug: Calling cleanup 0x8052f40(0x80cfb60)
debug: pty_cleanup_proc: /dev/ttyp1
debug: Calling cleanup 0x804eb64(0x0)
Cannot close PAM session: Permission denied
debug: Calling cleanup 0x805f1dc(0x0)

2. ANOTHER ppp/network question, please help!

3. log ftp session with PAM

4. net/8139too

5. How to find processes not started from a PAM session ?

6. Linux / uClinux on Palm Vx ?

7. Logging PAM session, how to ?

8. FREE VITAMINS! (TfaDpS)

9. track ftp session

10. Session tracking

11. how to track or capture remote root sessions?

12. UDP session tracking problem

13. "Invalid session number or type of track" error during boot