Re: Why does 'ssh' and 'scp' work to one and not another?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: joe@actionline.com
Date:  
To: Main PLUG discussion list
Subject: Re: Why does 'ssh' and 'scp' work to one and not another?
.
craig last wrote:

echo "----- \n Marking my place in the logs \n -----" \ >> /var/log/secure
echo "----- \n Marking my place in the logs \n -----" \ >> /var/log/messages
then try to login, then look at the logs - after the marks you just made.

Here's the result:

For secure:
----- \n Marking my place in the logs \n -----
Feb 12 10:24:01 localhost crond[24469]: pam_unix(crond:session): session
opened for user root by (uid=0)
Feb 12 10:24:01 localhost crond[24469]: pam_unix(crond:session): session
closed for user root
Feb 12 10:25:01 localhost crond[24552]: pam_unix(crond:session): session
opened for user root by (uid=0)
Feb 12 10:25:01 localhost crond[24552]: pam_unix(crond:session): session
closed for user root

For messages:
----- \n Marking my place in the logs \n -----
Feb 12 10:24:01 localhost crond[24470]: (root) CMD (
/usr/share/msec/promisc_check.sh)
Feb 12 10:24:43 localhost sshd[24518]: Failed password for joe from
192.168.0.68 port 34485 ssh2
Feb 12 10:24:46 localhost last message repeated 2 times
Feb 12 10:25:01 localhost crond[24553]: (root) CMD (
/usr/share/msec/promisc_check.sh)



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss