• Annelik Elkitabi
  • PHOTOSHOP’ ı seviyorum
  • PROJELERİM

iffetoguz

iffetoguz

Monthly Archives: Ekim 2016

Share Folder Policy | Remove Share with Everyone

05 Çarşamba Eki 2016

Posted by io's realm in Computer, IT, Software

≈ Yorum bırakın

Etiketler

batch script, delete shares, list shared folder, list shares, powershell script, remove shared folder, share folder with everyone, shared folders, shareFolderPolicy

This Windows PowerShell and Batch combination project is created to eliminate security gap on PCs due to shared folders with everyone (with full access rights).
It search folders shared with “everyone” in a computer, list them, then optionally remove share from that folders automatically.
Boundary: Assuming that the case of having no permission to scan whole network.

It can be added scheduled tasks list to auto scan computer in a period of time.

You can go to the project page via this link.

—-

Bu proje PowerShell ve Batch scriptlerinin bir combinasyonu olarak hazırlanmıştır. Yazma amacım, bilgisayar ve network açısından bir güvenlik açığı olan “herkes” ile paylaşılmış dosya ve dizinlerin tespit edilmesi ve paylaşımın isteğe bağlı olarak kaldırılması. Betikler, bilgisayar üzerinde belirlenen alanda tüm dosya ve dizinleri tarıyor, “herkes” ile paylaşılmış tüm materyali listeliyor ve (paylaşımı kaldır) ayarı açılmışsa otomatik olarak paylaşımı kaldırıyor.

Normalde tüm ağı tarama yetkisi varsa bu işlem daha genel biçimde yapılabilir fakat tüm ağı tarama izni olmayan kullanıcılar için bilgisayarlarında bu betik ile temizlik yapmaları daha kolay olabilir.

Bu uygulama ayrıca Windows’ un zamanlı işler listesine eklenebilir ve belirli zaman aralıklarıyla bilgisayarı kontrol ederek güvenlik açığını ortadan kaldırabilir.

Proje sayfasına bu link ile ulaşabilirsiniz.

Creating Snapshot View via ClearCase Cleartool Commands

04 Salı Eki 2016

Posted by io's realm in Computer, IT, Software, Test, Uncategorized

≈ Yorum bırakın

Etiketler

Clear Case, Clear Tool, ClearCase, Cleartool, Cleartool Commands, Configuration Management, Create ClearCase View, Create Snapshot View, IBM, IBM ClearCase, SCM, Set Config Spec, Version Control

Although IBM ClearCase usage is very common at IT fields, most developers are not familiar with cleartool commands. Starting a project which consists of setting up the environment of a test station, cleartool commands become more important than ever, so I found out the exact arrangement to create a snapshot view. Since I could not find this sequence on the net I want to share my knowledge as followings:

The bold parts needs to be adapted on samples.

——————

IT sektöründe çokça kullanılan bir araç olan ClearCase genelde kullanıcı arayüzü üzerinden kullanıldığı için cleartool komutları pek bilinmemekte. Geçenlerde bir betik projesi için kullanmam gerektiğinde ben de doğru parametre kombinasyonunu bulmakta biraz zorlandım. Bulunca da başka ihtiyaç duyanlar olabilir düşüncesiyle buraya yazayım dedim. Umarım işinize yarar:)

Koyu ile belirtilen kısımlar sizin kendinize göre uyarlamanız gerekenler.

1. To Create Snapshot View:


cleartool mkview -snapshot -tag <tag_name> -vws \\<computer_name>\<views_folder>\<view_name> <path_of_localstorage>


tag_name : The name of snapshot view you will create. (e.g. Dev_View_on_TestPC) || oluşturacağınız view için kullanacağınız isim.

computer_name : The name of computer. (e.g. TestPC) || bilgisayarınızın ismi

views_folder : Directory name of Clear Case views on the PC. (e.g. views) || view dosyalarının bulunacağı dizin adı

view_name : The name of snapshot view you will create again with “.vws” extension. (e.g. Dev_View_on_TestPC.vws) || yeniden oluşturacağınız view için kullanacağınız isim bu kez “.vws” uzantısıyla.

path_of_localstorage: Path of the snapshot view on the PC. (e.g. D:\TestStorage\DEV) || View oluşturulacak dizinin adresi


Sample Usage | Örnek Kullanım:

cleartool mkview -snapshot -tag Dev_View_on_TestPC -vws \\TestPC\views\Dev_View_on_TestPC.vws D:\TestStorage\DEV


After completing this command, view will be created but folder will be empty until filling it with using config spec.

 

2. To Set ConfigSpec & Load Local Storage


cleartool setcs -force -overwrite -ptime <CS_Folder_Path>\<CS_File_Name>


CS_Folder_Path : The path of where you located the config spec file. || Config Spec dosyasının bulunduğu adres

CS_File_Name : The name of Config Spec File. | Config Spec dosyasının ismi


Sample Usage | Örnek Kullanım: 

cleartool setcs -force -overwrite -ptime C:\\setCS\ConfigSpecDEV.cs


 

Abone Ol

  • Entries (RSS)
  • Comments (RSS)

Arşivler

  • Ekim 2020
  • Mayıs 2020
  • Nisan 2020
  • Ocak 2020
  • Eylül 2019
  • Ağustos 2019
  • Temmuz 2019
  • Haziran 2019
  • Şubat 2019
  • Eylül 2017
  • Aralık 2016
  • Ekim 2016
  • Temmuz 2016
  • Nisan 2016
  • Şubat 2014
  • Haziran 2013
  • Mayıs 2013
  • Nisan 2013
  • Mart 2013
  • Şubat 2013
  • Aralık 2011
  • Eylül 2011
  • Ağustos 2011
  • Nisan 2011
  • Şubat 2011
  • Şubat 2009
  • Kasım 2008
  • Eylül 2008
  • Ağustos 2008
  • Temmuz 2008
  • Haziran 2008
  • Mart 2008
  • Şubat 2008
  • Kasım 2007
  • Ağustos 2007
  • Temmuz 2007
  • Ekim 2006
  • Ağustos 2006
  • Temmuz 2006
  • Mayıs 2006
  • Nisan 2006
  • Mart 2006
  • Şubat 2006
  • Ocak 2006
  • Aralık 2005
  • Kasım 2005

Kategoriler

  • academic
  • Anneiok
  • Computer
  • Dostlar
  • fun
  • IT
  • Kitap / Book
  • Personal
  • Process Improvements
  • Robotic
  • Software
  • Test
  • Toplumsal
  • Uncategorized

Meta

  • Kayıt Ol
  • Giriş

WordPress.com'da Blog Oluşturun.

Gizlilik ve Çerezler: Bu sitede çerez kullanılmaktadır. Bu web sitesini kullanmaya devam ederek bunların kullanımını kabul edersiniz.
Çerezlerin nasıl kontrol edileceği dahil, daha fazla bilgi edinmek için buraya bakın: Çerez Politikası