LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-27-2015, 05:00 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post Find Windows username via Linux


Hello.
I want to know which user logging to Computer A but how can I find it?
I used "nmblookup -A IP" and it show me the computer name and Domain name but how about finding Username?

Any idea?

Thank you.
 
Old 09-28-2015, 03:13 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,661

Rep: Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891
nmblookup is a samba utility used to query NetBIOS names and map them to IP addresses using NetBIOS over TCP/IP
queries.

smbstatus is a program to list the current Samba connections which includes usernames.

Those are just samba utilities and does not show those logged in via other methods like ssh, telnet, ftp, or using nfs.
 
Old 09-28-2015, 04:05 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Oh.
I read "http://toasterz.com/node/27" too but in your idea can I find anyway for find who longing on a remote PC?
 
Old 09-28-2015, 07:52 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,661

Rep: Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891
Look at the log files.
 
Old 09-28-2015, 02:12 PM   #5
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by michaelk View Post
Look at the log files.
Look at the log file on remote system? Can it show current user?
 
Old 09-28-2015, 03:23 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,661

Rep: Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891Reputation: 5891
Like many of your questions it lacks details and we have to guess or make assumptions. Check out this following article.

http://www.networkcircus.com/articles/20090606.html
 
Old 09-28-2015, 03:32 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Are you asking for a way to determine the name of the user logged in on a remote system using just it's IP address? No I don't believe you can do that, it would be a huge security vulnerability.
 
Old 09-29-2015, 11:30 AM   #8
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by suicidaleggroll View Post
Are you asking for a way to determine the name of the user logged in on a remote system using just it's IP address? No I don't believe you can do that, it would be a huge security vulnerability.
Yes but PStool in windows have some features for it.
 
Old 09-29-2015, 11:38 AM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Sure, provided the remote system has been configured to allow them to work. You can't just ping any old Windows IP and get information about who's using it, which is what it sounded like you were looking for. If you do have admin control over the remote machine, then why can't you use PsTools, or any other remote administration tool?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trick of Linux: How to find a username & password through distribution .iso besa Linux - Newbie 4 05-19-2010 07:22 AM
How to find/recover Redhat Enterprise Linux 3 username & password for login fruitplus Linux - Newbie 1 05-07-2010 07:02 AM
Linux command/whatever that is equal to %username% in windows C_MAN Linux - Newbie 5 07-11-2008 12:59 AM
Configure the unix/linux server to use windows username and password sunhui Linux - Software 4 07-06-2006 09:36 AM
Common username/password on Linux and Windows Yalla-One Linux - Networking 1 03-16-2005 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration