Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

How to log commands/logins in linux?

dvmav_aa
Posts: 46
Joined: 07 Jun 11
Trust:

How to log commands/logins in linux?

I'm feeling that some people are using the root, how i can log all commands and connection times including ips made to the server (ssh) from all users?
  • 0
essexboyracer
Posts: 105
Joined: 02 May 11
Trust:
I would imagine whatever flavour of linux youre server is on does this automatically? If not try http://www.google.com/search?q=log+ssh+sessions
  • 0
mortalengine
Posts: 174
Joined: 24 Apr 09
Trust:
Another rosetta stone spammer
  • 0
evilla.drazen
Posts: 81
Joined: 26 Aug 11
Trust:
The universal login name is root. However, there are lots of commands in Linux that you might as well learn them. You can check all the Linux commands right here.
  • 0
essexboyracer
Posts: 105
Joined: 02 May 11
Trust:
also try ubuntuforums.org but be careful of using commands found on forums, some of them have terminal consequences if run on a linux machine
  • 0

This topic was started on Aug 09, 2011 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.