Delegate permission for Objects and Users

  sd_mp_group_obj_administration (TEST\sd_mp_group_obj_administration)

They have the following permissions:
Read Members
Write Members

For the following object types:  Group

The groups, users, or computers to which you have given control are:

sd_mp_user_obj_administration (TEST\sd_mp_user_obj_administration)

They have the following permissions:
Read All Properties
Write All Properties
Read and write account restrictions
Validated write to DNS host name
Validated write to service principal name

list contents, read permissions, all validated writes

For the following object types: Computer


SVN Commands

SVN checkout or up using user defined credentials

svn co –username <username> –no-auth-cache


SVN update only files (not subdirectories)

svn update –depth=files

View SVN log comment for last two commit

svn log – -limit 2 -v

SVN revert to previous version 

svn up -r prev <filename>

Renaming (moving) a repo in SVN

svn mv

Remove a repo in SVN

svn rm -m “unneeded branches”

Copy a repo in SVN

svn cp -m “VZ-649-71504 staging branch” <source full url> <destination full url>

SVN revert all changes

svn st -q | awk '{print $2;}' | xargs svn revert

SVN Conflict –

View the SVN update status without updating

svn status -u

Revert SVN Delete changes before commiting

svn revert --depth infinity deletedDir

SVN Merge Changes

SVN Switch working copy

$ svn info | grep URL

$ svn switch
U   integer.c
U   button.c
U   Makefile
Updated to revision 341.

$ svn info | grep URL


Creating a ezmlm list

Create a closed mail list so only the members in the list and send and receive mail

ezmlm-make -giurs -5 ~/list/operations ~/.qmail-operations operations

echo ‘[Operations]’ > list/operations/prefix

$for e in; do for l in operations; do ezmlm-sub ~/list/${l} ${e}; done; done

Linux Simple Commands

Linux – ls taking long time to display many files in directory

#  time ls -1 -f | head


mkdir /tmp/data && cd /tmp/data – if first command successfully execured then next command is exdcuted

[ -d /tmp/data1 ] || mkdir /tmp/data1 – if first command fails the second command executed

cat /etc/shadow > /dev/null && echo “File opened successfully” || echo “Failed to open File”


Adding an IP address from command line (linux)

ip a a <service-ip>/32 dev eth0

ip address add dev eth0

ip a a brd + dev eth0 label eth0:7

inet brd scope global secondary eth0:7
ip address del dev eth0

ifconfig eth0:0 netmask up
ifconfig eth0 netmask broadcast

Check Replication between Domain Controllers

Replication is based on pull, so you should focus on “Destination DSA” and “Inbound Neighbors”

repadmin /replsum chn-dc /bysrc /bydest /sort:delta
repadmin /replsum * /bysrc /bydest /sort:delta

  Repadmin /showrepl /repsto – This command displays the replication partners for each naming context that is held on the specified DC. This enables you to build a picture of the replication topology.

Repadmin /queue – This command run against a particular DC determines if its replication queue has any entries. If it has it may indicated it is overloaded.

Repadmin /viewlist * – this lists all the DCs in the Forest. This is limited at this point to output upto 999 DCs
Repadmin /showmeta (

repadmin /replicate (