Outdated McAfee DATs On Red Hat Linux Machines

I've taken over for a sys admin who has been gone for a few months.

I've started to update the McAfee anti-virus, however I'm wondering if there is a command to see/view the version/date of the McAfee DAT file?

I'm guessing that its going to be a few months old, will there be a problem with updating such an older file with a newer file. Or am I'm overthinking this and just approach like a Windows user would and just click update?

Also, can anyone recommend any McAfee CLIs?

I found this website

http://www.asti-usa.com/support/appnotes/73.html

And under /etc/init.d/cma I can run the normal start/stop/status commands along with the MAN page.

thanks


Similar Content



Update Grub Command Not Working

I have made a change to GRUB2 bootloader in etc/default/grub.
Now I need to run 'update grub' for the change to take effect.
However, the 'update grub' command on the terminal is giving this error message:
Code:
root@debian:/# update grub
bash: update: command not found

Can someone please explain why this command is no longer working?

I've had to make a change to grub because I tried to install a new distro which meant I had to alter grub.
The install wasn't successful so I deleted the grub file and then re-installed it.
The re-installed grub needs a change so I can get sound on my pc.
However, I can't add these changes because the 'update grub' command doesn't work.

I've checked the grub file with another debian distro and they are both the same.
So now I don't know if I need to check if a different grub file is the problem or anything else.
Can someone help?

Newer Computers

I've been using/testing Zorin 9, Mint 12, and Ubuntu 14 on 2 older computers for about 2 weeks now and I'm completely impressed with the look and feel especially of Zorin and Ubuntu. My problem is that I also have 2 newer computers that I am unable to install or even test any of the 3 on due to I imagine video incompatibilities. I get to the point where you choose the partition, and I just choose the defaults and then I get this sort of Linux version of the BSOD. I've tried all three in different configurations but nothing is working. I figure I just need current Video Drivers for Linux but there's no way, at least that I know of to update them cause Windows doesn't recognize the "run" command and I can't get into Linux to update it there. Any advice is appreciated.

Thank You
John

Systemd And Loading Init File

I recently changed from Debian 7 to 8 which now uses systemd as the default init.
I had a init file that worked fine (see below) and works fine when directly invoked
Code:
$ sudo /etc/init.d/iptables start

however fails when indirectly invoked
Code:
$ sudo service iptables start
Job for iptables.service failed. See 'systemctl status iptables.service' and 'journalctl -xn' for details.

Code:
$ systemctl status iptables.service
 iptables.service - LSB: Iptable setup
   Loaded: loaded (/etc/init.d/iptables)
   Active: failed (Result: exit-code) since Mon 2015-05-25 17:18:37 PDT; 5s ago
  Process: 4825 ExecStart=/etc/init.d/iptables start (code=exited, status=203/EXEC)

Code:
$ journalctl -xn
No journal files were found.

I don't understand the error except that it "failed" and is loaded.
I have disabled and re-enabled the service with these commands:

Code:
sudo systemctl disable iptables
sudo systemctl enable iptables

which completes successfully but did not fix the problem.


INIT file
Code:
### BEGIN INIT INFO
# Provides:          iptables
# Required-Start:    $network $remote_fs $syslog
# Required-Stop:     $network $remote_fs $syslog
# Should-Start:      $portmap
# Should-Stop:       $portmap
# X-Start-Befo     nis
# X-Stop-After:      nis
# Default-Start:     2 
# Default-Stop:      1
# X-Interactive:     false
# Short-Description: Iptable setup
# Description:       Sets iptable rules
#                    
### END INIT INFO

ipt=/sbin/iptables

loadrules() {

if [ -e /etc/iptables_ruleset ]; then iptables-restore < /etc/iptables_ruleset && exit 0; fi

$ipt -F
$ipt -X

# Policies and Chains
$ipt -P INPUT DROP
$ipt -P FORWARD DROP
$ipt -P OUTPUT ACCEPT
$ipt -N SSH
$ipt -N WEBSERVER

$ipt -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
$ipt -A INPUT -i lo -j ACCEPT # Allow loopback

# Services
$ipt -A INPUT -p tcp -m multiport --dport 443,80 -j WEBSERVER # WEBSERVER chain 
$ipt -A INPUT -p tcp --dport 22 -m conntrack --ctstate NEW -j SSH # Jump to SSH chain
$ipt -A INPUT -p tcp -s 192.168.1.1/24 --dport 445 -j ACCEPT # samba

# Reject message for LAN
$ipt -A INPUT -s 192.168.1.1/24 -j REJECT

# WEBSERVER chain
$ipt -A WEBSERVER -p tcp -m multiport --dport 443,80 -m conntrack --ctstate NEW -j LOG
$ipt -A WEBSERVER -p tcp -m multiport --dport 443,80 -j ACCEPT

# SSH chain
$ipt -A SSH -p tcp --dport 22 -m recent --set --name SSH # Set SSH recent
$ipt -A SSH -p tcp --dport 22 -m recent --name SSH --update --seconds 10 --hitcount 2 --rttl -j LOG # Log if over counter
$ipt -A SSH -p tcp --dport 22 -s 192.168.1.1/24 -m recent --name SSH --update --seconds 10 --hitcount 10 --rttl -j REJECT # Reject from lan if over counter
$ipt -A SSH -p tcp --dport 22 ! -s 192.168.1.1/24 -m recent --name SSH --update --seconds 10 --hitcount 2 --rttl -j DROP # Drop if over counter
$ipt -A SSH -p tcp --dport 22 -j ACCEPT

iptables-save > /etc/iptables_ruleset
}

removerules() {
$ipt -P INPUT ACCEPT
$ipt -P FORWARD ACCEPT
$ipt -P OUTPUT ACCEPT
$ipt -F
$ipt -X
}

restartrules() {
rm /etc/iptables_ruleset
loadrules
}

case "$1" in
	start)
		loadrules
		;;
	stop)
		removerules
		;;
        restart)
                restartrules
                ;;
    	*)
        	echo "Usage: $0 start|stop|restart" >&2
        	exit 3
        	;;
esac

Edit:
Checking /var/log/daemon.log gives me this info:
Code:
May 25 19:13:29 hostname systemd[6004]: Failed at step EXEC spawning /etc/init.d/iptables: Exec format error
May 25 19:13:29 hostname systemd[1]: iptables.service: control process exited, code=exited status=203
May 25 19:13:29 hostname systemd[1]: Failed to start LSB: Iptable setup.
May 25 19:13:29 hostname systemd[1]: Unit iptables.service entered failed state.

No Space Left On Device When Doing Update.

I was trying to do an update using Update Manager and I got the error message:

No space left on device), E:IO Error saving source cache, E:The package lists or status file could not be parsed or opened.

I have attached a copy of my disk usage and it shows root as 100%. I thought that I had put the Home folder on it's own partition but I guess not.

I have also included the results of the ls -l command but fail to see what is using the space.

I am using LinuxMint Linux version 3.11-2-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.1 (Debian 4.8.1-10) ) #1 SMP Debian 3.11.8-1 (2013-11-13)

Thanks for your help in advance.

Run .bat File On Windows That Depends On An Event In Linux

Hello, does anyone knows a way to run a .bat file in windows that depends on an event in Linux? I already have a free communication between both machines, with puttyGen, but now i have to activate a .bat file in windows when a directory in linux contains files. By crontab it will be watching that directory, and at the moment that a file arrives, the .bat file that is in windows has to fire.

Thanks for the information.

File Upload From Putty To A Secured Website

->Need to upload a file from Unix box(Putty) to a website.

->Tried Wget and curl to upload a file to that website, when ever i am trying to fire the command its redirecting to Login page.

->for this purpose i have used cookies option to pass the Login information next time, but its giving empty cookie file and returning entire HTML page.

->used various options like redirecting,load cookies, for wget and curl, but everything is going in vain.

->Normally browser login process for that website is :

1.Login page www.example1.com/login and provide username and password
2.redirected to another URL www.example2.asp and after clicking on a folder icon.
3.it is getting redirected to another URL www.example3.com/folders.do?id=12433434324

i have to upload the file in the third URL and to a particular folder in that page, folders are containing different ids.

Please share your knowledge on this and provide solution as best as you can ,thanks

How To Get A Linux That Fits On A CD?

I am having problems with my Sony Vaio windows
it boots up saying (on a black screen, grey text):
==============================================
Windows Boot Manager
Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
1. Insert your Windows installation disc and restart your computer.
2. Choose your language settings, and then click "Next."
3. Click "Repair your computer."
If you do not have this disc, contact your system administrator or computer manufacturer for assistance.
Status: 0xc0000225
Info: The boot selection failed because a required device is inaccessible.
Enter=Continue ESC=Exit
==========================================
No matter how many times i tried to restart and even tried F10 repeatedly or Alt-F10 I can't get to any other screen other than the above screen.

So I thought ah to hell with windows on this machine. I'll just install a linux distro because it's for my uncle all he really needs is internet and watch youtube videos/movies.

I have successfully burned and installed Fedora before on other machines using LiveCDs when they had CDs.

This time I tried to burn the DVD since it's it doesn't fit on the CD (I got my ISO from http://download.fedoraproject.org/pu...86_64-21-5.iso)
But when i inserted my DVD and restarted the same black screen appears.

So i have been looking for an older version of Fedora that fits on a CD (I am thinking maybe it'll boot from a CD, not sure though) but can't find any.

Any thoughts or solution to my problem?

Thanks in advance.

How To Make Repository File In Red Hat Enterprise Linux 6.4 For Running Of Yum

Hello
I am working on Red Hat 6.4 Enterprise Server.Here commands systemctl and systemd are not working.Error comes command not found.I am using service command in place of systemctl to start,stop,enable and disable service etc.
example service httpd start
Also I am not able to install any software or package by using yum command.Whenever I try to install a package through yum the below error comes
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Repository 'repository_url': Error parsing config: Error parsing "baseurl = 'repository_url'": URL must be http, ftp, file or https not ""
Setting up Install Process
Nothing to do
Please advice some other commands or what to do.Regards Najam

FreeRDP Commands Not Working On Raspberry Pi 2 (Raspbian)

Hello guys!

First thing to be said is, that I am not native English speaker and I hope my english will be sufficient for this problem.

I am trying to make some kind of thin client from my Raspberry Pi 2.
I put Raspbian Wheezy distribution inside.

After I tried different clients (rdesktop, remmina, xrdp) I found FreeRDP, that looks like what I was looking for.

After the setup and network configuration of my Raspbian I updated repositories and installed freerdp through
Quote:
sudo apt-get update
sudo apt-get install freerdp
Their wiki says that there are 2 forms of commands. The newer one (through /PARAMETER) and older one (through -PARAMETER)
https://github.com/FreeRDP/FreeRDP/w...dLineInterface

How do I get new commands to work? I thought that apt-get install freerdp would bring me the newest version. My version is 1.0.1 and I am not sure if it is the newest version.

I need to run my rdp client from shell, that is why I refused to use remmina.

I hope i explained my problem weell enough.

Thank you for any suggestions.

GRUB Can`t See My Second Xubuntu Partition

Hello, i hope i created this thread in good place

I have 2 linux Xubuntu 14.04 partitions
GRUB shows only one partition, i cannot switch user to the second partition too, but file manager sees it right.

In GParted it looks like this:
 http://s23.postimg.org/igpp2j1jf/Scr...5_19_08_53.png

the bigger dev/sda/1 partition is my old one which i want to boot with GRUB and use it

and /dev/sda/6 is new which i need to remove

But i cannot do this because GRUB doesn`t see /dev/sda/1, so what can i do?

My GRUB version is 2.02~beta2-9ubuntu1, i tried to update it with sudo update-grub but no effects.

Thanks for your effort