Youry's Blog

Youry's Blog

Archive for December 2010

Data Theft Outpaces Physical Stealing By CIO insight 2010-10-19

leave a comment »

Data Theft Outpaces Physical Stealing By CIO insight 2010-10-19
“Criminals and employees are more likely to steal information, rather than physical devices or cash, according to a report examining fraud trends.”
“For the first time, companies are reporting more electronic data theft than physical thefts, said London-based risk consultancy Kroll. ”

see more here: http://www.cioinsight.com/c/a/Latest-News/Data-Theft-Outpaces-Physical-Stealing-806721/?kc=CIOMINUTE12312010CIO3

Advertisements

Written by youryblog

December 31, 2010 at 12:14 PM

Posted in IT, SecurityNews

Data Thieves Walk Among Us (from cioinsight.com)

leave a comment »

Data Thieves Walk Among Us By Dennis McCafferty on 2010-09-03:
Many employees have no reservations about stealing electronic assets when they leave a job, according to a survey of more than 3,500 adults in the United States and the United Kingdom. The survey was conducted in June and July 2010 by research firm Harris Interactive on behalf of identity-governance solutions vendor SailPoint. Among those surveyed were 1,594 employees with access to their employer’s/client’s IT systems. Nearly half of the workers surveyed said they would take some form of company property with them when leaving a position; these workers are more likely to steal e-data than a stapler. In fact, more than a quarter say that they would take customer data, including contact information. The upshot: CIOs have to re-examine the way they balance business risk with the need for access to sensitive data and applications.
* 49 percent would look at a confidential file accessed inadvertently, including salary info, personal data or merger plans.”
see slideshow here: http://www.cioinsight.com/c/a/Business-Intelligence/Data-Thieves-Walk-Among-Us-480088/?kc=CIOMINUTE12312010CIO1

Written by youryblog

December 31, 2010 at 12:10 PM

Posted in IT, SecurityNews

11 Expert Predictions for Cloud IT in 2011 by Chris Preimesberger

leave a comment »

11 Expert Predictions for Cloud IT in 2011 by Chris Preimesberger
“… During the last couple of years, most of the research, testing, re-testing and quality assurance work on this new phase of IT has been completed at the high-performance computing and large enterprise level, and midrange and smaller enterprises are now following suit. … In this slide show, eWEEK, with the assistance of data management software provider Aprigo, brings you a collection of predictions from known and respected authorities, including company founders, chief technical people and a systems administrator or two.” Chris Preimesberger see more here: http://www.eweek.com/c/a/Cloud-Computing/11-Expert-Predictions-for-Cloud-IT-in-2011-564092/?kc=EWKNLEDP12312010D

Written by youryblog

December 31, 2010 at 12:00 PM

Posted in Cloud Computing, IT

Mac OS Configuration and some issues

leave a comment »

This post is for some issues with Mac OS X Leopard and interaction from/to Linux. This could be useful for some other people as well.

  1. Firefox won’t Force Quit? https://discussions.apple.com/thread/7307276?start=0&tstart=0:
    1. Haven’t deleted anything, and everything is still ok since I used your workaround:

      sudo killall launchservicesd

      and then

      sudo killall Dock

      in Terminal.

    2. The solution that has worked for me is to untick the “use hardware acceleration when available” option. Go to Preferences>advanced and untick the box. Restart Firefox and hopefully this will solve the issue.
  2. Automatically eject external disks on sleep and reconnect after on OS X http://www.atpeaz.com/index.php/2013/automaticlly-eject-external-disks-on-sleep-reconnect-after-os-x/
  3. How to enable remote access for another account on Mac remotely via SSH? http://superuser.com/questions/166179/how-to-enable-remote-access-for-another-account-on-mac-remotely-via-ssh
    sudo dscl . append /Groups/com.apple.access_ssh user USERNAME
    sudo dscl . append /Groups/com.apple.access_ssh groupmembers `dscl . read /Users/USERNAME GeneratedUID | cut -d " " -f 2`
  4. How To Silence Your Mac’s Startup Chime http://www.mactrast.com/2013/08/how-to-silence-your-macs-startup-chime/
    sudo nvram SystemAudioVolume=%80
    to reenable the system chime: sudo nvram -d SystemAudioVolume
  5. A problem with occasional horizontal scrolling in MS Office can be solved by MagicPrefs https://discussions.apple.com/thread/2292349?start=45&tstart=0
  6. see http://forums.macrumors.com/showthread.php?t=1044728 to solve the problem with VNC viewer from Linux to Mac keeps hanging. I had this problem for many years and at the last I found a solution: vncviewer -SendClipboard=0 -AcceptClipboard=0 -FullColour -PreferredEncoding=ZRLE
  7. Use an old Mac as a backup server Save your old Mac so it might one day save your data. Very good paper in my opinion. I still didn’t implemented such type of backup, but I need that for sure, especially for all my Linux and MAC computers.
  8. Remove all DS_Store files http://helpx.adobe.com/dreamweaver/kb/remove-ds-store-files-mac.htmlSelect Applications > Utilities to launch Terminal.
    Enter the following UNIX command:
    sudo find / -name “.DS_Store” -depth -exec rm {} \;
    When prompted for a password enter your Mac OS X Administrator password.
    To the top
    Automatically remove DS_Store files periodically
    Select Applications > Utilities to launch Terminal.
    Enter the following UNIX command:
    sudo crontab -e
    When prompted for a password enter your Mac OS X Administrator password.
    In the vi editor, press the letter I on your keyboard once and enter the following command:15 1 * * * root find / -name “.DS_Store” -depth -exec rm {} \;This crontab entry has the following format:
    .
    The system automatically runs the command at 1:15 AM everyday. To configure the command for a different time, use different values.Note:
    This command is not run if your computer is switched off at the scheduled time.
    To save the entry press the Esc key once, then simultaneously press Shift+z+z.

 

Written by youryblog

December 5, 2010 at 8:22 PM

Posted in IT, MacOS, UNIX/Linux tricks

Some Fedora problems and some solutions/ tricks

leave a comment »

Fresh installation

  1. Synergy autostart from http://forums.fedoraforum.org/showthread.php?t=147162
    Synergy client autostart in FC6
    The sequence I used for synergy on FC6:Edit /etc/gdm/Init/Default and add just before exit 0:
    /usr/bin/killall synergyc
    sleep 1
    /usr/bin/synergyc <serverip>

    Copy /etc/gdm/PostLogin/Default.sample to /etc/gdm/PostLogin/Default
    Edit /etc/gdm/PostLogin/Default and add to the end:
    /usr/bin/killall synergyc
    sleep 1

    Edit /etc/gdm/PreSession/Default and add just before exit 0:
    /usr/bin/killall synergyc
    sleep 1
    /usr/bin/synergyc <serverip>

  2. GNOME Shell Frippery for grumpy old stick-in-the-muds (Fedora 19 – suspend, hibernate, etc).
  3. Re: No Fedora 19 kernel installed after Fedup upgrade (from http://forums.fedoraforum.org/showthread.php?p=1661255)
    “I came across this problem as well. Had all the F19 rpms but had a grub menu only showing F18 entries.
    The solution for me was as root to:

    1.   Rerun fedup-cli –network 19. This only runs until it sets up repos and the boot image and then tells you that you have F19 installed. .
    2. Run grub2-install /dev/sda if your boot sector is on sda.
    3. Run grub2-mkconfig -o /boot/grub2/grub.cfg.
      After this I had the fedup option in grub. Somewhere along the line first time around the boot into F19 had been missed.
      Right, This still didn’t work as the fedup option fails missing some files. Something that is inherently disastrous is required. DO THIS WITHOUT ANY GUARANTEES! It worked for me.
    4.   Run yumdownloader kernel-3.9.9-302.fc19.x86_64 kernel-headers-3.9.9-302.fc19.x86_64 kernel-devel-3.9.9-302.fc19.x86_64.
    5. Run rpm –Uvh kernel-3.9.9-302.fc19.x86_64.rpm kernel-devel-3.9.9-302.fc19.x86_64.rpm kernel-headers-3.9.9-302.fc19.x86_64.rpm –nodeps –force.
    6. Don’t panic when the output shows dracut activity. This is the creation of the vmlinuz, initramfs, system map and config sections in the boot file.
    7. Remove the file vmlinuz-fedup from the /boot/ directory. I copied it elsewhere in the filesystem in case needed later.
    8. Run steps 2) & 3) again and reboot.

    Last edited by whodareswins; 24th July 2013 at 11:20 PM. Reason: more steps needed”

  4. F16 cups-pdf http://forums.fedoraforum.org/showthread.php?t=274219
  5. Fedora 17: post installation tasks http://www.if-not-true-then-false.com/2011/nautilus-open-in-terminal-on-fedora-centos-red-hat-rhel/
  6. Nautilus “Open in Terminal” on Fedora/CentOS/Red Hat (RHEL) http://www.if-not-true-then-false.com/2011/nautilus-open-in-terminal-on-fedora-centos-red-hat-rhel/
  7. Kannst du das spüren? Disable auto mount of encrypted LUKS (CRYPTO_LUKS) partition on openSuSE 11.2 while booting http://tropenhitze.wordpress.com/2010/01/21/disable-auto-mount-of-encrypted-luks-crypto_luks-partition-on-opensuse-11-2-while-booting/
    • To add luks information to crypttab you nee to use “cryptsetup luksUUID <device>" http://is.gd/VuUy5P
  8.  Add the mapping information to /etc/crypttab http://docs.fedoraproject.org/en-US/Fedora/17/html/Installation_Guide/apcs04s06.html
  9. https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/ch29s04s04.html Create a mapping to allow access to the device’s decrypted contents
  10. http://bodhizazen.net/Tutorials/Ecryptfs/
  11. very sad news. I found deja-dup doesn’t work to restore the whole system. As it was posted in many posts, the best way to install Fedora from live-cd and then restore only /home. Very stupid idea. I’ve spend about 10-15 hours trying to recover everything from the deja-dup backup. No luck. Installed everything from scratch:
    • sudo yum install libreoffice language-support-en
    • Skype: download skype from the skype website and install
      sudo yum skype-xxxx
    • Synergy: download synergy from the synergy web-site and install
      sudo yum synergy-xxx
  12. Some useful advises for Fedora 16: http://smashingweb.info/fedora-16-post-installation-guide-for-perfect-desktop/
  13. Enable Desktop Icons and Right Click ~ Gnome 3 (Gnome Shell) Ubuntu 11.04 http://joesteiger.com/2011/07/02/enable-desktop-icons-and-right-click-gnome-3-gnome-shell-ubuntu-11-04/
  14. Creating Application Launcher in GNOME3 Desktop http://community.linuxmint.com/tutorial/view/791
  15. Fedora GNOME 3 show desktop keyboard shortcut. http://blog.ergatides.com/2011/06/26/fedora-gnome-3-show-desktop-keyboard-shortcut/
  16. sudo yum install -y dconf-editor
  17. Re: How do I disable auto maximizing windows

    Since, after installing dconf-editor, I could not find either org.gnome.mutter edge-tiling or org.gnome.shell.overrides, I installed ccsm to see if disabling Grid as mentioned might work, and it did, no more auto-maximize. I’m very grateful for the helpful information in disabling this feature. http://ubuntuforums.org/showthread.php?t=1970815&page=2
  18. http://smashingweb.info/fedora-17-post-installation-guide-things-to-do-after-installing-fedora-17/
  19. Howto Show Date in Gnome 3: http://forums.fedoraforum.org/showthread.php?t=261961
    gsettings set org.gnome.shell.clock show-date true
  20. How to show minimize tab in the windows http://motorscript.com/customizing-gnome-shell/ : install gnome-tweak-tool and chose in the shell show all.
  21. Very good paper about Howto Play .wmv Files on Fedora 16 / 15 / 14
  22. If you have a problem with a USB printer, it’s better to change SeLinux to permissive mode and sometimes is better to reinstall cups.
  23. Skype can cause sometimes problems and needs to be reinstalled. see http://www.go2linux.org/skype-for-fedora-using-yum
  24. Backups (I used deju-dup, but can’t restore full system now):
  • dpkg –get-selections > installed-software

All you need to do is to create a file named skype.repo and lacated in: /etc/yum.repos.d/
And this file should have this content.
[skype]
name=Skype Repository
baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/
gpgkey=http://www.skype.com/products/skype/linux/rpm-public-key.asc

yum install skype

if the following problem: Package skype-2.1.0.81-fc.i586.rpm is not signed
$ yum –nogpgcheck install skype

3. Vmware boot to fast: see http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004129
Resolution
To make it easier to access the BIOS setup screen, edit the virtual machine’s configuration (.vmx ) and append one of these options:

*
bios.forceSetupOnce = “TRUE”

This forces entry to the BIOS setup at startup.

*
bios.bootDelay = “xxxx”

This adds a delay to the initial POST screen, showing it for longer and giving you more time to access the BIOS setup, where xxxx is the number of milliseconds to show the POST screen. (There are 1000 milliseconds in a second.)

4. Problems with Grub2 boot in Fedora 16.

I’ve spent about 10 hours to resolve problems with grub2 on raid1 and with bugs, related to use an old HDD from Raid1. After many attempts and posts reading I found couple excellent papers:

If I such papers 10 hours early, I would not spend so much time for a such small problems. If you have any problem with Grub2, please read 2 mentioned above papers.

Raid Problems: http://www.sonoracomm.com/internet/18-support/42-linux-sw-raid

repair failed blocks in Raid1

Disk Repair

This command will scan your disk and, optionally, mark off the bad blocks on it.

badblocks -vf /dev/hdX     # test only
badblocks -wvf /dev/hdX    # write test and remap bad blocks

adding new HDD and copy partitions:

How to copy the partition layout of a whole disk using standard tools

sfdisk -d /dev/sda > part_table
sfdisk /dev/sda < part_table

Then use the sgdisk command like so

sgdisk -R=/dev/sdb /dev/sda
sgdisk -G /dev/sdb

The first command copies the partition table of sda to sdb (be careful not to mix these up). The second command randomizes the GUID on the disk and all the partitions. This is only necessary if the disks are to be used in the same machine, otherwise it’s unnecessary.

another good paper about dd command: Raid Administration
dd if=/dev/sda of=/dev/sdc bs=512 count=1  
and check it by
sfdisk --dump /dev/sda
sfdisk --dump /dev/sdc

1. http://amandine.aupetit.info/42/raid1-to-raid5/ – how to upgrade Raid 1 to Raid 2 with volume groups.

For the old HDD from the previous Raid you should format HDD on another computer with MBR update.

5. I use Raid 1 and Raid 5 on many my desktops and servers and found many times I need to remember some Raid administration commands and even tricks. Just couple days ago my Raid 5 md2 failed and I found a new name for the Raid md126. I found in Internet, that many people have such problems.

My solution is following:

  • stop raid by > mdadm –stop /dev/md126
  • check the raid disks by > cat /proc/mdstat
  • and then check the HDDs by >mdadm –examine /dev/sda3
    and other disks in the same way
  • and then assemble new raid back by >mdadm -A /dev/md2 /dev/sd[abc]3
  • check the raid arrays by > mdadm –detail –scan
    and if it is necessary update the configuration file by the
  • mdadm –detail –scan >> /etc/mdadm/mdadm.conf

6. Interesting topic about how to increase Raid 1 size. I did it in the past, but not remember now. This is a reason why I started this blog. I did a lot of different things, but don’t remember many of them and now I want to keep them in one place.

I already increased size for the partitions of the Raid 1 from 35GB to 75Gb, but still have the same size for the Volume Group, which is the problem.

Some links, which I use now:

Written by youryblog

December 5, 2010 at 2:09 PM

Posted in IT, Most, UNIX/Linux tricks

The Eclipse plugins, which could be useful

leave a comment »

Written by youryblog

December 4, 2010 at 5:43 PM

Posted in SW Design, SW Projects

International Workshop on Security and Performance in Cloud Computing

leave a comment »

International Workshop on Security and Performance in Cloud Computing
http://hpcs11.cisedu.info/conference/workshops/workshop-15—spcloud

(SPCLOUD 2011)
As part of (workshop no. 15)
The 2011 International Conference on High Performance Computing & Simulation
(HPCS 2011)

SCOPE AND OBJECTIVES
Cloud computing systems open a new perspective on almost every aspect of computing. Some security issues raised by cloud computing are alleviated by virtualization but the performance overheads should be balanced against this advantage. Dynamic scalability or “elasticity” will help generalize high-performance computing and very large data sets in applications. But the actual gains in performance depend heavily on the predictability of physical and virtualized resources. Consequently, the balancing of performance against security and the adaptation of HPC or VLDB techniques to cloud computing are of strategic importance and will have long-lasting scientific content.

The SPCLOUD workshop will bring together researchers and IT practitioners to present new results and ongoing work on the themes of security and performance in the cloud.

The Workshop topics include (but are not limited to) the following:

* Reliability and Security of Cloud Environments
* Monitoring for Cloud-Based Applications
* Cryptography and Crypto-Protocols for Cloud Computing Systems
* Parallel Computing With Cloud-Based Systems
* Very Large Databases In The Cloud: Transactions, Backup, Security, Scalability
* Security and Virtualization. Insiders Threats
* Risk Management in Cloud Computing Environments
* Usability and Human Centered Security for Clouds
* Trusted Data Sharing and Shared Technology Issues
* Untrusted Cloud Servers and Networks
* Privacy Protection in Cloud Platforms and Operations
* Autonomic Security in Cloud Computing
* Intercloud Security Issues and Considerations
* Insecure Interfaces and APIs
* Security Models for New Services
* Services Hijacking
* Interoperable Identity Management
* Information Hiding in Cloud Computing
* Forensics in the Clouds
* Cloud Infrastructure Security

Written by youryblog

December 4, 2010 at 5:08 PM

Posted in Conferences, News