473,385 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to capture windows user login in Unix

Hi all,
Is it possible to capture Windows user login in Unix? We have a AIX Unix system that allows users to login (using a common login) and run scripts. At the end of the day, we cannot find out which user executed the script. Is it possible in Unix to find out the windows login user id for the user logged in Unix using a common login.

Appreciate any suggestions.

AK
Jan 18 '11 #1

✓ answered by sicarie

I would HIGHLY recommend using separate Linux shell accounts and setting up something like LDAP to manage MS ActiveDirectory to Linux logins, however that's a suggestion.

How do the users connect? If it's via ssh then there's a log of what IP the user came in with at a specific time. Find the time the script was started, find the IP of the user who kicked it off, and check your network diagrams.

4 3374
sicarie
4,677 Expert Mod 4TB
The user logins and escalations should be kept in various /var/log files (I can't remember the specific ones AIX uses.

It should be a matter of ensuring your logging levels are high enough to capture the information you're looking for without overloading your storage, and then finding the right logs to match the user login with the command execution.

What are you using for logging right now?
Jan 18 '11 #2
Hi,
Sorry for late reply; I was on leave.

To log in to unix, the user currently uses a common login profile to process some data by running shell scripts. There are options available to the user, he just select an option to run. Currently, there is no specific user profile for each user logs in the system. Once logged in, I can only capture the unix login, which is a common login. I lose trace of who runs what.

I am just wondering if there a way to allow my unix capture the windows login.

Thanks.
AK
Jan 20 '11 #3
sicarie
4,677 Expert Mod 4TB
I would HIGHLY recommend using separate Linux shell accounts and setting up something like LDAP to manage MS ActiveDirectory to Linux logins, however that's a suggestion.

How do the users connect? If it's via ssh then there's a log of what IP the user came in with at a specific time. Find the time the script was started, find the IP of the user who kicked it off, and check your network diagrams.
Jan 20 '11 #4
Hi,

Yes, it is a good suggestion. I will try that, but I am not sure how far I may go with it. But I will give it a try.

Thanks a lot.
Jan 23 '11 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: timbratureman | last post by:
I have to create an intranet website by php, sql server and IIS. One requirement is to get the user name from the windows client login. I'd like to know if it is possible, and if yes how? I...
3
by: tbone | last post by:
We were using sql authentication on our sql server 2000 servers, But need to use windows authentication. I have an sql user jdoe that owns many different objects in multiple databases. I have...
5
by: Mike Turco | last post by:
(This was also posted to comp.database.ms-access before I realized this was the hep group.) Lets say that my WinXP computer has two users: Michael and Kathryn. One or the other logs into the...
1
by: xc | last post by:
IŽd like to ensure that the user that will connect to my program is tthe same as authenticated in my windows. Ex: I have user login frame and i want to ensure that the user name , login and...
4
by: Paul Ponzelli | last post by:
I'm using the VB.NET language in ASP.NET, with Windows XP on the desktops and Windows 2003 on the network servers. When users log on, they have to enter a user name and password in the netowrk...
8
by: Keith H | last post by:
I'm looking for a way to force the user to re-authenticate with their Windows username/password/domain after clicking the submit button on an ASP.NET page. This is for an internal application. ...
9
by: Alex | last post by:
Get the Name and Phone Number of the Current Windows User in a .NET Application I am writing a simple .NET (C#) application. It needs to "automatic" get the Name (last, first) and phone number...
3
by: thiago777 | last post by:
What is the best/most correct way of starting an application without the need of login in (after windows startup)? I found some options on the net: 1. Insert on...
3
by: =?Utf-8?B?Sm9zZXBo?= | last post by:
In a Winform application using VB.Net is there a way to capture the user's Windows login name? Any help would be greatly appreciated, thanks.
2
by: ekasII | last post by:
I'm trying to capture text input by user to file, password = wx.TextCtrl(self.panel_1,wx.ID_ANY,pos=(230,150),size=(200,20),style= wx.TE_PASSWORD) l__password_file = <path\file.txt>...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.