LinuxQuestions.org
Review your favorite Linux distribution.
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 04-25-2015, 03:34 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post How can I doing Security Audit?


Hello.
How can I understand which user tried to logging into my Linux Box when I'm not at the desk? Can I find which username and password his entered?

Thank you.
 
Old 04-25-2015, 04:04 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
You can view login messages in syslog (/var/log/syslog or something system dependent).
 
Old 04-25-2015, 05:09 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
I use Debian and check "syslog" but I can't see anything about username and password that used for enter into the system. Can you show me some special "syntax" or "words" for forward it into "grep" command?
 
Old 04-25-2015, 05:57 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by hack3rcon View Post
How can I understand which user tried to logging into my Linux Box when I'm not at the desk?
Start with
Code:
lastlog; last -wai; lastb; less /var/log/auth.log
and see each commands manual page for nfo.


Quote:
Originally Posted by hack3rcon View Post
Can I find which username and password his entered?
User name yes, password no. That would be inappropriate.
 
Old 04-25-2015, 08:42 AM   #5
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Thank you so much.
It is better than nothing
 
  


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
LXer: How to Audit Your Linux Security With Lynis LXer Syndicated Linux News 0 04-23-2013 07:30 PM
Security audit on Debian - what to do with all the warnings mikeey Debian 1 03-20-2012 05:32 PM
Linux security audit tools er_gaurav22 Linux - Security 4 03-05-2008 01:47 AM
security audit? nabil_boussetta Linux - Security 1 07-07-2004 03:38 AM
How do you setup a cron job for a security audit? Lorianna Programming 3 04-18-2002 05:29 PM

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

All times are GMT -5. The time now is 06:41 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