- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Strange log entry
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 11:38 AM
06-19-2002 11:38 AM
Jun 18 00:52:46 hostname root: Hey, look I'm logged on as root at the console. Not good...
Jun 18 00:52:47 hostname root:
Jun 18 00:52:53 hostname root: d
Does anyone have any ideas on what this might be?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 11:45 AM
06-19-2002 11:45 AM
SolutionIt looks like someone logged in as root and used the 'logger' command to leave you a message in syslog. Not good. If you don't know who did it you'd better start checking to see if your system has been compromised.
You can write messages to syslog.log via the logger command, and it records your hostname and your user id. I hope everything is ok for you.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 11:46 AM
06-19-2002 11:46 AM
Re: Strange log entry
This certainly means that somebody has logged in into your system with root login. Have you given the root access to anybody.
Then he has used the logger command to pass this message to your syslog.log file
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 11:49 AM
06-19-2002 11:49 AM
Re: Strange log entry
I'd suspect that someone left the console logged in as root & someone came along & ran the logger command which allows root to make syslog entries. The "d" was *probably* a failed ctrl-d that got logged.....
The other scenario is that someone has the root PW & su'd up & made those entries - again using logger.
Note these didn't necessarily have to be done from the console....syslog doesn't log tty info.
In either case, you need to lock this box down some more. Looks like that was the *purpose* of this exercise.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 11:49 AM
06-19-2002 11:49 AM
Re: Strange log entry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 12:25 PM
06-19-2002 12:25 PM
Re: Strange log entry
last -R root | more ==> to see where root was logged in from during this time period.
view /var/adm/sulog ==> to see who might have su'd to root.
Of course, if you find that the id HACKER su'd to root you could try last -R HACKER | more
Good luck!
Thom