| Private Hosting Questions about VPS, dedicated servers and colocation. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) | |
|
Searcher
Surpass Staff
Joined in May 2003
Lives in Orlando
24,513 posts
Gave thanks: 936
Thanked 788 times
|
Security: Check if anyone else has root to your server
1. Log in as the root user of your server
2. type cd /etc/cron.daily 3. then type pico -w chkuid0 4. Paste the following code: Quote:
5. Press Ctrl-X, and then press Y. 6. type chmod 755 chkuid0 |
|
|
|
|
|
|
#2 (permalink) |
|
ubuntu Fan
Super #1
Joined in Nov 2003
Lives in Calgary Alberta Canada
2,724 posts
Gave thanks: 0
Thanked 0 times
|
Why do some of the support people use public keys to get into the root?
__________________
"A lot of people are waiting for Martin Luther King or Mahatma Gandhi to come back -- but they are gone. We are it. It is up to us. It is up to you." — Marian Wright Edelman |
|
|
|
|
|
#3 (permalink) |
|
Third Plateau
Comfy Contributor
Joined in Apr 2004
Lives in East Hanover, New Jersey
Hosted on Nifty
272 posts
Gave thanks: 0
Thanked 0 times
|
This script only detects if a new account was added with root powers. (UID 0) This would be a false sense of security, since most hackers just gain root using some exploit, plant a trojan, and leave.
__________________
site (syberdave.net) - server (nifty) |
|
|
|