473,563 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to capture windows user login in Unix

3 New Member
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
4 3387
sicarie
4,677 Recognized Expert Moderator Specialist
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
sightless
3 New Member
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 Recognized Expert Moderator Specialist
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
sightless
3 New Member
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
5618
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 think it should be possible by asp, but in php??
3
9440
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 tried adding the windows login of jdoe with the exact same permissions as the sql user jdoe, but it complains because it says jdoe already exists. So...
5
8120
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 computer and opens up an Access database (I happen to be using 2002). There is no security on the database -- just click on the shortcut and you're in....
1
1755
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 domain are the same logged in the local computer. Understand?? Thanks
4
1729
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 operating system. Is there a function or other means I can use to capture the Windows 2003 login user name for use in my code? Thanks in advance, ...
8
16489
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. Does anyone know if/how this can be done?
9
2994
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 of the current Windows user. I guess the name can be retrieved from the environment -- After I click the Start button of Windows, my name is on...
3
1286
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 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices registry 2. include line load="appname" in win.ini file 3.include app in c:\Windows\Start...
3
2218
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
5013
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> l__get_password = password.GetLineText(1) l__write_password = open(l__password_file,'w').write(l__get_password) Somehow, GetLineText(1) does not capture the...
0
7665
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7888
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7642
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7950
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.