WINSCP Log in AIX 6.1


 
Thread Tools Search this Thread
Operating Systems AIX WINSCP Log in AIX 6.1
# 1  
Old 05-23-2012
WINSCP Log in AIX 6.1

Hello Team,

In my environment , Application team using winscp to create/modify/delete the files in the AIX server from their windows boxes. I have enabled the user history, su logs and lastlog, but the users whoever using winscp its not getting tracked. How to enable the WINSCP logs in AIX level ?? Can someone please advice.

Regards,
Gowtham.G
# 2  
Old 05-23-2012
I cannot speak to AIX; however, WinSCP is a client tool I have used to access Solaris and Linux systems. You can have users enable activity logging in WinSCP, but you cannot enforce it without setting up group policies. To my knowledge you cannot execute the SU command in the GUI, but you can in the terminal (either the built-in or by linking to PuTTY).

So... question for you... are your users using their own credentials to access the server, then using SU through the terminal session to get elevated priviledges? If so, then your logging should catch their activity. Alternately, are the users using the elevated accounts (i.e. root) in the GUI to access the server directly? If so, you will not see who is using the root account, only that the root account took some action.

One way to overcome this is to remove login capability from all elevated accounts and force users to login with their own accounts, then SU to the elevated accounts. Many admins would consider this a safer approach anyway.
# 3  
Old 05-23-2012
AIX, like most UNIXes has built in auditing. Perhaps that would work for you.

More info here:
Use auditing to track reads and writes in a file
# 4  
Old 05-29-2012
Here are the steps:

1. Edit /etc/ssh/sshd_config to enable
#SyslogFacility AUTH
#LogLevel INFO
#Subsystem sftp /usr/sbin/sftp-server
2. Edit /etc/syslog.conf
auth.info /tmp/wtmp rotate time 1d
3. touch /tmp/wtmp
4. refresh -s syslogd
5 stopsrc -s sshd; sleep 5 ; startsrc -s sshd &
(Then reverse the step to restore system)
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. AIX

Locking down access vi winscp

Did some search but didn't find what I was looking for. We have a fairly complex system in which we have a special shell that is actually a script that runs some checks to make sure the user is coming in via the approved ssh client and if not they are kicked out. Recently we figured out folks are... (3 Replies)
Discussion started by: juredd1
3 Replies

2. UNIX for Dummies Questions & Answers

What is winscp?

Hi I am new to using unix and editors for unix.. what is winscp? how to use it? what are ways to download this and learn? (1 Reply)
Discussion started by: swathi123
1 Replies

3. UNIX for Dummies Questions & Answers

Oracle client install for AIX - WinSCP fails

I am trying to install the oracle client for AIX. I downloaded the client to my Windows machine from Oracle Database 10g Release 2 for AIX5L "Oracle Database 10g Client Release 2 (10.2.0.1.0)". 1. Is this right? (I need 9 or 10 client) It was .gz file that I am now trying to move from... (2 Replies)
Discussion started by: shoefiend
2 Replies

4. AIX

winscp between AIX and windows

Hello Admins, I am trying to copy some files/packages from my windows host to AIX server. I am a normal user not root. I am getting an error as below: cannot initialize sftp protocol..... I have enabled the ftp service. Could you help me out.. (7 Replies)
Discussion started by: snchaudhari2
7 Replies

5. Linux

WINSCP for Linux?

Is there something that will work on Linux with the same functionality like Winscp? (5 Replies)
Discussion started by: soupbone38
5 Replies
Login or Register to Ask a Question