• C preprocessor interprets word Linux as a constant 1

    In Linux, the C preprocessor in GCC keeps interpret the word linux as my constant 1. This is the test C: #include int main(void) { int linux = 5; return 0; } But here's the result of $g gcc -E test.c: .... int main(void) { int 1 = 5; return 0; } It keeps giving me an error. What should I do?

    ITKE376,240 pointsBadges:
  • How to create stale file?

    I need to create a stale file. How can I do that?

    purnima12125 pointsBadges:
  • Get rid of SYMLINK to a directory in Linux

    We have a SYMLINK to a directory. We need to get rid of it but we also want to keep the directory behind it. Is there a way to do this? Do we have to tell it to delete a file and not the directory? Thanks!

    ITKE376,240 pointsBadges:
  • CentOS 6.5 bridge can not start automatically after restart

    I installed CentOS 6.5 and configured bond and bridge interface. Bond configuration file: DEVICE=bond4.2301 NAME=bond4.2301 BONDING_MASTER=yes IPV6INIT=no VLAN=yes ONBOOT=yes BOOTPROTO=none BRIDGE=br-ext br-ex configuration file: DEVICE=br-ext BOOTPROTO=none ONBOOT=yes TYPE=OVSBridge DEVICETYPE=ovs...

    sluszkulcs5 pointsBadges:
  • Support UTF-8 on a Linux server

    For the past month, I've been installing a new server and I need it to support UTF-8 in my web application. I've tried on several past servers but I've run in issues. How can I go about doing this? I know I need to configure Apache, MySQL and PHP. It's for a new Linux server too.

    ITKE376,240 pointsBadges:
  • Unix programming

    When writing a shell script, how do you verify a command completes successfully?

    tulasi6115 pointsBadges:
  • Directories we should not include in backing up a Linux server

    My team backs up a Linux server and it's storing it on another server. Here's what we have for code: rsync -aPh --del server.example.com:/ /mnt/backup But a friend (who's on another team) says we shouldn't back up /proc because we don't want to restore the /proc on the server. Is there anything...

    ITKE376,240 pointsBadges:
  • Linux: How to exclude directory using find command

    I'm looking to run the find command for all my JavaScript files but I also need to exclude a directory. Here's the find code that I'm using: for file in $(find . -name '*.js'); do java -jar config/yuicompressor-2.4.2.jar --type js $file -o $file; done Thanks so much.

    ITKE376,240 pointsBadges:
  • Upgrading Node.js and NPM to latest versions

    I have recently installed Node.js and NPM. Is there a way to upgrade Node.js / the modules to the latest versions? Would NPM be able to do it?

    ITKE376,240 pointsBadges:
  • Antivirus software on DNS Linux servers for PCI compliance

    In a recent PCI DSS audit, we need to install antivirus software on our DNS servers that are running Linux. The servers weren't compromised but this was recommended. Should we go ahead and do this? If we should, which antivirus should we go with?

    ITKE376,240 pointsBadges:
  • Upgrade Apache version for PCI compliance

    For PCI compliance, I'm required to upgrade from Apache 2.2.15 to 2.2.19 on CentOS. Here's what I tried so far: yum update httpd yum install httpd-2.2.29 But it keeps telling me that there's no package available. Like I said, I have to fix this for PCI compliance since there's a vulnerability. What...

    ITKE376,240 pointsBadges:
  • OpenSSH on OS X for PCI compliance

    Our current version of OpenSSH on OS X is not PCI compliant. We need to upgrade it but it hasn't been working well. I did this first: brew tap homebrew/dupes brew install openssh It worked but when I tried which shh, I get this: /usr/local/bin/ssh That's fine too but our Port 22 is still using the...

    ITKE376,240 pointsBadges:
  • PCI compliance for Magento that’s running on CentOS

    Over the past few weeks, I've been trying to get PCI compliance through Trustwave's vulnerability scanner. We're using Magento that's running on CentOS. Here's the issue we have: The version of PHP running on this host is prone to a stack-based buffer overflow in the socket_connect function in...

    ITKE376,240 pointsBadges:
  • OpenSSH upgrade on web server for PCI compliance

    For the past few weeks, we've been trying to upgrade our OpenSSH for PCI compliance reasons on our organization's web server. However, we can't figure out how to do it. Here's what we tried so far: # sudo apt-get install openssh-server openssh-client Reading package lists... Done Building...

    ITKE376,240 pointsBadges:
  • Timeout SSH sessions after inactivity for PCI compliance

    For PCI DSS requirements, if a session is idle for more than 15 minutes, the user will have to re-authenticate to re-activate the terminal or session. So, because of this, we had to deal with SSH sessions that are idling at the bash prompt by enforcing a global $TMOUT of 900. But we realized that...

    ITKE376,240 pointsBadges:
  • CentOS server keeps failing PCI compliance scan

    Our CentOS server continues to fail the PCI compliance scan. Here's what keeps failing: openssl < 0.9.8.o. rpm -q openssl shows: openssl-0.9.8e-12.el5_5.7 Here's the Apache header banner: Server: Apache/1.3.41 (Unix) PHP/5.2.14 mod_psoft_traffic/0.2 mod_ssl/2.8.31 OpenSSL/0.9.8b mod_macro/1.1.2...

    ITKE376,240 pointsBadges:
  • PCI compliance assessment for CentOS

    My department is getting through a PCI compliance assessment of our server that's running CentOS. We're getting several issues but with fixes. Basically, most of them are to update the packages to the latest version. But we ran into a couple of issues along the way and our provider said even though...

    ITKE376,240 pointsBadges:
  • Apache SSLCipherSuite continues to fail in PCI compliance scan

    We have a Fedora server that's running on Apache to pass a PCI DSS compliance scan by McAfee. Here's what we used for the default SSLCipherSuite and SSLProtocol. SSLProtocol ALL -SSLv2 SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP So it failed because of weak ciphers. We changed it...

    ITKE376,240 pointsBadges:
  • Downgrade Red Hat 6.6 to 6.4 when SAP is installed

    I'd like to downgrade Red Hat Enterprise Linux from 6.6 to 6.4. Is it possible? What are the risks and how it could be done? Thanks!

    spitzmann0075 pointsBadges:
  • Install DVWA safely

    Hi, I just want to start learning web application pen testing. They require that I download DVWA (Damn Vulnerable Web Application) to VMware, but I don't have enough data to get VMware, and I don't have the money also to purchase an online VMware. So I want to know if its possible to use my Kali...

    ITKE376,240 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.