OpenSSH
[Top] [All Lists]

Re: ssh 4.x using aix 5.3 auditing

To: openssh-unix-dev@mindrot.org
Subject: Re: ssh 4.x using aix 5.3 auditing
From: Ryan Robertson <r3r2@yahoo.com>
Date: Wed, 10 Jan 2007 13:56:03 -0800 (PST)
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
I'm still a bit confused as to how control-d is interpreted in ssh vs telnet.  
The only thing I can figure is that telnet traps control-d as User_Exit or 
USER_Logout and ssh interprets it as EOF.  If EOF is triggered, then the 
auditing subsystem doesnt care.

The 'logout' command is only affected if you are NOT logged into the console.
====================
test_citi:/root # grep UseLogin /usr/etc/sshd_config
UseLogin no
test_citi:/root # tty
/dev/pts/0
test_citi:/root # logout
3004-065 You must be on the login terminal.
test_citi:/root #
======================

test_citi:/root # grep UseLogin /usr/etc/sshd_config
UseLogin no
test_citi:/root # tty
/dev/vty0
test_citi:/root # logout

=============

In order to trigger the auditing subsystem, I have to do the following:
add 'set -o ignoreeof'' in /etc/profile
change UseLogin to "yes".  this is due to the tty issue listed above.

-Thanks,
Ryan





 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>
  • Re: ssh 4.x using aix 5.3 auditing, Ryan Robertson <=