./chkrootkit.sh: Line 2: Cd: /downloads/chkrootkit-0.48/: No Such File Or Directory

Aug 6, 2008

I just try install
but as title I have this error
./chkrootkit.sh: line 2: cd: /downloads/chkrootkit-0.48/: No such file or directory
./chkrootkit.sh: line 3: ./chkrootkit: No such file or directory

I’m edite
pico /etc/cron.daily/chkrootkit.sh
and set it to
#!/bin/bash
cd /downloads/chkrootkit-0.48/
./chkrootkit | mail -s "Daily chkrootkit from Servername" ****@****.com

then I try make test by
cd /etc/cron.daily/

./chkrootkit.sh

and it give me this error
./chkrootkit.sh: line 2: cd: /downloads/chkrootkit-0.48/: No such file or directory .
./chkrootkit.sh: line 3: ./chkrootkit: No such file or directory

View 8 Replies


ADVERTISEMENT

How May I Use Of Chkrootkit?

Aug 13, 2007

i install it is for what? how may i use of it?

View 5 Replies View Related

CHKROOTKIT Or RKHunter

Jul 29, 2009

which of the is better?

CHKROOTKIT or RKHunter?

i want to install and run it via ssh.

View 14 Replies View Related

Chkrootkit Log Has Errors

Jan 7, 2009

I have performed chkrootkit and got the following results. It suggests that there are a lot of problems. how would i get rid of these?

Checking `lsof'... not infected
Checking `mail'... not infected
Checking `mingetty'... not infected
Checking `netstat'... not infected
Checking `named'... not infected
Checking `passwd'... not infected
Checking `pidof'... not infected
Checking `pop2'... not found
Checking `pop3'... not found
Checking `ps'... not infected
Checking `pstree'... not infected
Checking `rpcinfo'... not infected
Checking `rlogind'... not found
Checking `rshd'... not found
Checking `slogin'... not infected
Checking `sendmail'... not infected
Checking `sshd'... not infected
Checking `syslogd'... not infected
Checking `tar'... not infected
Checking `tcpd'... not infected
Checking `tcpdump'... not infected
Checking `top'... not infected
Checking `telnetd'... not infected
Checking `timed'... not found
Checking `traceroute'... not infected
Checking `vdir'... not infected
Checking `w'... not infected
Checking `write'... not infected
Checking `aliens'... no suspect files
Searching for sniffer's logs, it may take a while... nothing found
Searching for HiDrootkit's default dir... nothing found
Searching for t0rn's default files and dirs... nothing found
Searching for t0rn's v8 defaults... nothing found
Searching for Lion Worm default files and dirs... nothing found
Searching for RSHA's default files and dir... nothing found
Searching for RH-Sharpe's default files... nothing found
Searching for Ambient's rootkit (ark) default files and dirs... nothing found
Searching for suspicious files and dirs, it may take a while...

View 14 Replies View Related

Rkhunter & Chkrootkit?

Jun 30, 2008

I've honestly never had to worry about protecting myself from exploits until this week, when I found out somebody agined access t othe server using an old script on an old account (teach me to delete client accounts when they leave me, it did!)

I'm working on a new server and going through lots of posts on better securing it, and two things that are suggested is installing chkrootkit and rkhunter, and adding them to the daily cron jobs. Learned how to install and set up the daily script for chkrootkit, but here's what I'd like to do that I'm not sure how to go about, I'd like to a) be notified ONLY if there are changes in the daily scans (especially since there are a couple of false positives I'm aware of) and b) be e-mailed a full report once a week, whether or not there were any changes.

I've got rkhunter installed as well, but I can't seem to find a script that will properly execute it and e-mail it to me. Does anybody have one that works? I'd also like to only get an e-mail if there are changes, except for a once weekly scan result.

View 3 Replies View Related

Rkhunter Vs. Chkrootkit - Best Way To Run

Dec 31, 2007

A couple days ago, I installed Rkhunter 1.3.0. I updated it, ran it, and put in my my crontab.root

30 23 * * * /usr/local/bin/rkhunter --cronjob > /dev/null

I just finished installing chkrootkit 0.48. I ran it and everything seems fine.

Is there a way to run this as a service?? I ask because in my VPS control panel, the security check still shows that Chkrootkit isn't installed.

Do I put it in the crontab.root file, or does it run as a service?

Also... Does it do the same thing as Rkhunter, or should I have them both installed?

View 1 Replies View Related

Error In Install Chkrootkit-0.48

May 29, 2008

I have following error when try to install chkrootkit-0.48 on server:

[root@m5088 chkrootkit-0.48]# make sense
gcc -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
make: gcc: Command not found
make: *** [chklastlog] Error 127

How can resolve this issue?

View 4 Replies View Related

Chkrootkit :: Not Promisc And No PF_PACKET Sockets

May 27, 2007

Checking `sniffer'... eth0: not promisc and no PF_PACKET sockets

eth1: not promisc and no PF_PACKET sockets
eth1:1: not promisc and no PF_PACKET sockets
eth1:2: not promisc and no PF_PACKET sockets
eth1:3: not promisc and no PF_PACKET sockets
eth1:4: not promisc and no PF_PACKET sockets

Anything I should be worried about?

View 2 Replies View Related

Windows Equivalent Of Chkrootkit, Rkhunter

Oct 29, 2009

i use those 2 programs for scanning for rootkit programs.

are there any free programs for windows?

View 3 Replies View Related

Dail Chkrootkit Find Shell

Aug 26, 2007

shkrootkit sent one e-mail

Checking `bindshell'... INFECTED (PORTS: 465)
Checking `lkm'... You have 1 process hidden for ps command
chkproc: Warning: Possible LKM Trojan installed

what means?

View 4 Replies View Related

Ffmpeg :: Cannot Open Shared Object File: No Such File Or Directory In Unknown On Line 0

Mar 6, 2008

Rapidly growing error logs showing the same message

$ug-non-zts-20020429/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0

root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*
root@server [~]# ls /usr/local/lib/php/extensions/no-debug-non-zts-20020429
./ ../ eaccelerator.so*

Using cpanel 11 / centos 4

View 1 Replies View Related

Strip Whitespace From Each Line Of PHP File

Mar 3, 2008

I have a load of PHP files that need trimming down, so for example

Code:
<html>
<?php
$loads_of_stuff = 1231231;
?>
</html>
change to

Code:
<html>
<?php
$loads_of_stuff = 1231231;
?>
</html>

There are 000's of lines, so some awk command or something similiar would be great to execute on each file.

View 1 Replies View Related

Modify Conf File Using Shell Script/Command Line

Jan 17, 2006

i want to modify a conf file using commandline or a shell script. for eaxmple:

here is a line from my conf file:....

View 1 Replies View Related

Command Line To Detect Account/file With Video/music

Feb 20, 2007

What command line do you use to detect account storing music/video?

What command line do you search for file that is greater than 1MB?

View 1 Replies View Related

Sh: /ifconfig: No Such File Or Directory

Feb 14, 2008

recently I found these commands in my error_log, can someone tell me is my plesk linux centos box under attack?

sh: /ifconfig: No such file or directory
sh: /ifconfig: No such file or directory
sh: /ifconfig: No such file or directory
sh: /uptime: No such file or directory
sh: /id: No such file or directory

I have very strong password and no one can access my box, how do they exe those commands and how can I prevent it?

View 12 Replies View Related

Unable To Open Pty: No Such File Or Directory

Jun 1, 2009

MY VPS IS DOWN.

i have this error on concole on hypervm

enter into CT 1820 failed

Unable to open pty: No such file or directory

View 8 Replies View Related

Unable To Open Pty: No Such File Or Directory

Jun 20, 2008

I have following error when try to login in my vps, how can resolve this issue?

Code:

Last login: Thu Jun 19 21:00:43 2008 from xxx.xxx.xxx.xxx

ALERT! You are entering a secured area! Your IP and login information
have been recorded. System administration has been notified.
This system is restricted to authorized access only. All activities on
this system are recorded and logged. Unauthorized access will be fully
investigated and reported to the appropriate law enforcement agencies.

enter into VE 270 failed

Unable to open pty: No such file or directory.

View 3 Replies View Related

Copy File To Multipal Directory

Apr 16, 2008

I want to copy one file index.html to multipal direcoties (40+ directory)how can i do it .

View 3 Replies View Related

Use Htaccess File To Disable Downloading Of Anything In The Directory

Aug 10, 2008

I am using a flash media player on one of my domains that streams music. The flash player would be like domain.com/music

The mp3 files are located in domain.com/music/mp3

The flash player just reads the title of the song and displays it in the media player.

I have used htaccess already to disable indexing, but the file name that shows on the media player is the exact name of the mp3, so I'm pretty sure people will be able to easily figure this out and start downloading our music.

What else can I add to htaccess to allow localhost access to the music, to stream with the flash player, but wont allow downloading of the mp3s.

View 3 Replies View Related

Yum Install :: Bash: ./configure: No Such File Or Directory

Apr 21, 2008

Trying to install yum no RedHed EL4 with Python 2.3.4. I have downloaded [url]and untarred it. I cd'd in the to untarred directory. I then went to ./configure and it gave me:
./configure
-bash: ./configure: No such file or directory

View 8 Replies View Related

How Recover A Directory From A Full Backup (tar) File

Jul 15, 2007

I'm trying to recover a subdirectory from a full cpanel backup (tar file).

I placed the backup on the /home/<userdir>/

Then I listed the content of the tar file and the directory is in there:

backup-3.1.2006_11-36-43_userlin2/homedir/public_html/php/viacache/

I need to restore /viacache to the original location

Code:
tar -xvf backup-3.1.2006_11-36-43_userlin2.tar /public_html/php/viacache
response:
tar: /public_html/php/viacache: Not found in archive

also (absolute path)

Code:
tar -xvf backup-3.1.2006_11-36-43_userlin2.tar /home/userlin2/public_html/php/viacache
Not found in archive....

View 2 Replies View Related

How Can I Fake A Directory/file For Error Logs

Nov 26, 2007

I was checking my error_log today and found thousands of 404 errors for these 2 files:

/flashtalking/ftlocal.html
/doubleclick/DARTIframe.html

I assume they are file requests made from ads on the site.

Right now I've just added those directories and files to appease the error logs, but can I fake their existence somehow without having to clutter up my file structure?

View 1 Replies View Related

File And Directory Permissions Is Driving Me Crazy

Sep 9, 2007

Until recently i had never used a Linux server, as i used to have a windows server. I now have a Linux VPS

I am now at my wits end with file permission problems

I use Joomla a lot for my websites, and i also develop and program many modules and components for it, but at the moment every time i upload a module (which is a zip file with php files that is put onto the server in the right place via php) it sets the ownership to "nobody" rather than the username so i cant access it via ftp, as it says you don't have permission or the file may not exist.

Is there anyway the server can be set so it will by default set the file to have an owner name that will allow ftp access to it without me having to learn SSH Putty (which is all i have done today) or contacting my hosting company every time?

I am spending more of my time with these permission problems than doing my work, it driving me barmy!

View 4 Replies View Related

Installing An Extension :: Warning: Mkdir(): No Such File Or Directory

Apr 30, 2008

downloading mailparse-2.1.4.tgz ...

Starting to download mailparse-2.1.4.tgz (36,862 bytes)
..........done: 36,862 bytes
9 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
building in /var/tmp/pear-build-root/mailparse-2.1.4

Warning: mkdir(): No such file or directory in System.php on line 273

Warning: mkdir(): No such file or directory in /usr/local/lib/php/System.php on line 273
ERROR: could not create build dir: /var/tmp/pear-build-root/mailparse-2.1.4

Thats what happens when I try to install an extension.

View 3 Replies View Related

Plesk 12.x / Linux :: Using Libraries PDO On Server - No Such File Or Directory

Feb 18, 2015

I'm trying to use libraries PDO on the server but continues to give me this error. "SQLSTATE [HY000] [2002] No such file or directory" ....

I plugged in Additional Guidelines, both extension = pdo.so that extension = pdo_mysql.so.

View 1 Replies View Related

Apache :: SSLCA Certificate File Per Directory Or Location

Sep 15, 2014

I understand that Apache documentation says that the SSLCACertificateFile directive is only valid in "server config" and "virtual host,"

[URL] .....

I would like to use a different CA bundle per-directory or location. Reason being is one directory is more strict than the other.

View 1 Replies View Related

Plesk 12.x / Linux :: Place File Into Document Root Directory?

Jul 11, 2014

I need to place a file in the root of my server. How should I do?

I tried:
SSH connection
wget ......
but the file is not in the right place

Where should I place it?

View 2 Replies View Related

Plesk 12.x / Linux :: Backup CentOS Server File Directory

Feb 25, 2015

Which protocol I should use for performing a backup of important server files and folders. I do make a snapshot but i found that's not enough.

My Centos 6.6 has ProFTPD configuration setup only for webhosts so no root access. I came across SCP, but don't know how to secure that like a Pro. I have also heard about SSHFS for linux.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved