LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-06-2010, 08:00 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
How to tell if more than one person is sharing a user account


Hi there --

Is there software or mechanism that can help the administrator determine if more than one person is using the same user account via a shared password?

Thanks.
 
Old 12-06-2010, 08:45 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Too my knowledge it is not possible (without obligatory biometrics) to determine who (or what) gave the user/password combo.

Hope this helps.
 
Old 12-06-2010, 05:05 PM   #3
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 572

Rep: Reputation: 120Reputation: 120
If you think they are using different machines (and the same person should always be using the same machine) then you could use the "last" command to see what hostname they logged in from.
 
Old 12-07-2010, 02:30 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by devnull10 View Post
If you think they are using different machines (and the same person should always be using the same machine) then you could use the "last" command to see what hostname they logged in from.
The bold part is definitely not true!

One can log in from home (being on-call and/or working flexible), from (one of) the office(s) and in some cases when on-the-road.......

And even if the environment is set up to have access from one specific machine, you cannot find out who/what actually gave the login credentials.
 
Old 12-07-2010, 02:57 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
There is software that tracks things like keyboard usage to determine if a user is the same as previously. Needs to learn but apparently doesn't take much.
Sites with high security clearance use this sort of thing. Not sure if an open source alternative is available.
 
Old 12-07-2010, 03:14 AM   #6
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
Quote:
Originally Posted by druuna View Post
Hi,

The bold part is definitely not true!

One can log in from home (being on-call and/or working flexible), from (one of) the office(s) and in some cases when on-the-road.......

And even if the environment is set up to have access from one specific machine, you cannot find out who/what actually gave the login credentials.
I think that was a case of "And IF they should be logging in from the same machine"
 
Old 12-07-2010, 03:34 AM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by djsmiley2k View Post
I think that was a case of "And IF they should be logging in from the same machine"
??? I don't get what you are trying to tell me.

I'm assuming you are talking about the last sentence (And even if the environment is ....), which seems to be a more specific case of your "And IF they should be logging in from the same machine"...
 
Old 12-07-2010, 03:54 AM   #8
prodev05
Member
 
Registered: Jul 2009
Location: Planet Earth
Distribution: Unix & Linux Variants
Posts: 304

Rep: Reputation: 20
try the command "finger"

You will get the number of users logged in to the server from different machine. Person's who are all logged into the server with same name but with different client IP should be considered as shared account.

You can write your own perl/python scripts to parse the output of the finger command.


Best Regards,

Last edited by prodev05; 12-07-2010 at 03:54 AM. Reason: spelling mistake
 
Old 12-07-2010, 06:02 AM   #9
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 572

Rep: Reputation: 120Reputation: 120
Quote:
Originally Posted by djsmiley2k View Post
I think that was a case of "And IF they should be logging in from the same machine"
Yes it was meant as an IF - I had already used IF at the start of the sentence. Anyway, I'm not getting into a discussion as to the in's and out's of correct grammar.
 
  


Reply



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
Making a user for more than one person to use how? mitchell7man Linux - Server 1 12-08-2009 06:31 AM
Prevent user account from logging in but allow su to account DejaCpp Linux - General 4 07-26-2006 11:44 AM
User Account to Access Another Account benfaust Linux - General 2 06-28-2006 12:26 PM
system account or user account??? yenonn Linux - Newbie 6 05-10-2006 07:49 PM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:42 PM.

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