The reason why I did that was even if the noexec can prevent scripts from running using ./ , it won't prevent scripts run using perl, for eg:-
perl udp.pl
The reason why I did that was even if the noexec can prevent scripts from running using ./ , it won't prevent scripts run using perl, for eg:-
perl udp.pl
I don't know exactly what breaks if you disable it... I know that's not POSIX compliant though... so you may not be able to run some POSIX programs after you remove it. But that may only affect some custom/commercial programs./dev/shm is the filesystem that supports POSIX shared memory. It supports calls like shm_open() and shm_unlink(). This provides a consistent filesystem interface to shared memory, as opposed to the System V IPC which relies on the communicating processes to agree on a common protocol to generate the same key so they all access the same piece of shared memory (eg: ftok()). POSIX shared mem does away with all that mess. Now you create and use shared memory objects as if they are file system entities.
I just locked it down in a similar manner as /tmp itself... but left it there.
BFD runs as a cron job, not a serviceOriginally Posted by benito
NOTE: on the root logon notification, I might suggest that you use a remote mail address. Using a mail account located on the same server is probably not the best idea....
Just a couple of corrections so that people are aware :
Current version is now apf-0.9.4-7At command prompt type: cd apf-0.9.4-6
so you will need to use :
:::::::::::::::::::::::Code:cd apf-0.9.4-7
Current version is now bfd-0.5At command prompt type: cd bfd-0.4
so you will need to use :
Code:cd bfd-0.5
And thankyou for an excellent guide 000000000
/dev/shm is part of how your system handles virtual memory. Though I am unsure of what can break using it I do not think it is the best idea to totaly disable it. Occasionaly crackers will try to upload and execute a script from /dev/shm. In the past few months it seems most of them have moved to using perl to execute the exploits though.
John W
www.eth0.us
I did this of sending me an email when somebody logs in the server but I got this today:
ALERT - Root Shell Access on: Sat Jan 15 01:04:40 CST 2005
What does this mean? Because there is no ip address or any other info, I tried it yesterday and it worked well, thanks for the help,
Julius
juba at solucionlogica.net
I have disabled it on about 200 servers and have never faced a problem with any of the users on any of those servers. And I have been doing it this way for about an year....Originally Posted by eth00
![]()
You didn't explain what to observe for the above? I tested tha above and almost all of them showed me a long list of files. Is that good or bad? Are you supposed to get something?Also check for:
locate irc
locate eggdrop
locate bnc
locate BNC
locate ptlink
locate BitchX
locate guardservices
locate psyBNC
locate .rhosts
SuperBaby
I get those without an IP when I use WINSCP and access via root. any shell logons I always get an IP back. Not sure why SFTP does not. If you are not using SFTP or something like it, it could indicate a logon from the console itself. As it would be a local logon, it might not log 127.0.0.1Originally Posted by juba
Would that be any update going on? Because it happens every day but it keeps on moving like 3 to 4 hours later, lets say first time 12am , next day 3am, next day 7 am and so on, thanks,
Julius
juba at solucionlogica.net
But when I ask here about that somebody tell to me that if I disable that cPanel can work on update like when that is ON, is that true?!Originally Posted by 000000000
thanks
Have you disabled those in WHM / System Health / Background Process Killer yet ?Originally Posted by SuperBaby
None of the checkboxes in the list is checked. There is no trusted user in the second box. Not even Root.Have you disabled those in WHM / System Health / Background Process Killer yet ?
So is that correct? Am I supposed to get the file list when I use "locate"?
SuperBaby
just check all of them which will block those irc bots !![]()
Last edited by gorilla; 02-18-2005 at 03:03 AM.
BTW this is a great basic tutorial for all the newcomers, maybe the mods could make it a sticky !!!?![]()