Articles for February 2013

What’s New in Windows Server 2012 Active Directory

You can divide the “what’s new” categories in Windows Server 2012 Active Directory into two roughly equal parts: brand new and merely improved. Either way, you’re going to like what you see.

New Features
Pundits, bloggers and journalists alike will be diving into these details for months to come. Let’s take a look at the new high-level features, starting with the brand-new functions:

GUI for Recycle Bin
Microsoft introduced the Active Directory Recycle Bin in Windows Server 2008 R2, but it was limited by its Windows PowerShell-only exposure. This time it gets a GUI.

GUI for Fine-Grained Password Policies
Also gaining a GUI are fine-grained password policies.

Loading

Permission Modes in Linux

   8             5              5
user      group      world
r+w+x r+x r+x
4+2+2 4+0+1 4+0+1 = 855

The permission mode is computed by adding up the following values for the user, the file group, and for everyone else. The diagram shows how.
▪ Read 4 – Allowed to read files
▪ Write 2 – Allowed to write/modify files
▪ Execute 1 – Read/write/delete/modify/directory

    7             4              4
user      group      world
r+w+x r r
4+2+1 4+0+0 4+0+0 = 744

Loading

Multiple Password Policies in One Domain on Windows Server 2012

One of the most common security requirements I’ve seen in enterprise organizations is setting unique password policies for different subsets of user accounts on the network. Some user accounts need to have very restrictive password policies – such as powerful IT Admin user accounts and user accounts with access to sensitive information. Other accounts often don’t have these same requirements. If we try to force very strict passwords on all user accounts to support the needs of just a few, most users will probably resort to writing down their passwords – which defeats our security practices all-together!

Loading

Find any word in linux system

I want to find in my linux system for example, “welcome to” the word. I’m doing the following on the command line for this query.

grep -r -e “Welcome to” /opt/otrs/

Output screen:

/opt/otrs/Kernel/Language/sl.pm:                ‘Welcome to %s’ => ‘Dobrodošli na %s’,
/opt/otrs/Kernel/Language/et.pm:                ‘Welcome to %s’ => ‘Tere tulemast %s’,
/opt/otrs/Kernel/Language/ar_SA.pm:        ‘Welcome to %s’ => ‘مرحباً بك في %s’,
/opt/otrs/Kernel/Language/lt.pm:                 ‘Welcome to %s’ => ‘Sveiki atvykę į %s’,
/opt/otrs/Kernel/Language/sk_SK.pm:       ‘Welcome to %s’ => ‘Vitajte v %’,
/opt/otrs/Kernel/Language/ru.pm:               ‘Welcome to %s’ => ‘Добро пожаловать в %s’,
/opt/otrs/Kernel/Language/hu.pm:              ‘Welcome to %s’ => ‘Üdvözli az %s’,
/opt/otrs/Kernel/Language/ca.pm:              ‘Welcome to %s’ => ‘Benvingut a %s’,

Then find related link. Doing the required correction with the help of an editor.

vi /opt/otrs/Kernel/Language/sl.pm

Loading

Exchange 2010: “Insufficient access rights to perform the operation”

Have you see this error yet? If you haven’t, you will. This is one of the most common errors and can be seen while performing a variety of functions within Exchange 2010. I continue to see this issue pop up so I decided to write a post on it. Most recently I saw this while trying to attach a disconnected mailbox to an existing AD user account. I have seen this same error pop up during the following functions (not full list):

Reconnect mailbox
Move mailbox to another database
Enable user for Unified Messaging
Creating an Outlook profile

Continue reading at this link. Tanks Tim Harrington.

Loading

Windows Server 2012 Recycle Bin Özelliği

Active Directory Recycle Bin özelliği Windows Server 2008 R2 ile gelen bir yeniliktir. Temel olarak Active Directory altında bulunan nesnelerin silinmesi durumunda kolay bir şekilde tekrar geri getirilebilmesi amaçlanmıştır. Daha önceki işletim sistemlerinde bu işlemi yapabilmek için sunucuyu restart edip F8 tuşu ile Directory Service Restore modunda açıp gerekli işlemleri yapıyorduk. Windows Server 2008 ile bu işlemi çok daha basit şekilde yapabilmekteyiz. Bu özelliği kullanabilmek için Forest Functional Level seviyesinin minimum Windows Server 2008 olması gerekmektedir ve default olarak disable konumunda gelmektedir. Bu makalede de Windows Server 2012 ile bu özelliği nasıl aktif hale getirip çalıştırabileceiğimi göreceğiz.

Loading

Exchange 2013 Server Management Shell (EMS)

Exchange Management Shell ile hatırı sayılır yeni komutlar bizim kullanımımıza sunuluyor. Bu komutlar sayesinde daha fazla raporlama ve veri toplama işlemini yapabiliriz. Gelen komutların bazıları aşağıdaki gibidir:
Add-GlobalMonitoringOverride
Add-ResubmitRequest
Add-ServerMonitoringOverride
Clear-MobileDevice
Complete-MigrationBatch
Disable-App
Disable-MailboxQuarantine
Disable-UMCallAnsweringRule
Dump-ProvisioningCache

Loading

sudoedit (şifresiz root kullanıcısı olma )

Aşağıdaki komut ile sudo dosyası açılır

root#sudoedit /etc/sudoers

daha sonra dosyaya aşağıdaki satır eklenir

[kullanici adi]              ALL=(ALL)       NOPASSWD: ALL

Daha sonra sudo -s veya sudo su – ile şifresiz root olunur.

Loading

route add in Linux

route add -net networkaddress netmask 255.255.255.0 gw gateway ip

or only one host

route add -host networkaddress netmask 255.255.255.255 gw gateway ip

color red: change your own ip address

Loading