April 30th, 2008 by shiraj
Inventory the domain controllers that are in the domain and in the forest
331161 Hotfixes to install before you run adprep /Forestprep on a Windows 2000 domain controller to prepare the Forest and domains for the addition of Windows Server 2003-based domain controllers http://support.microsoft.com/kb/331161/
Use Dcdiag.exe from the support tools to verify that all the domain controllers have shared Netlogon and Sysvol shares. To do so, type the following command at a command prompt:
DCDIAG.EXE /e /test:frssysvol
The DCDIAG /test:FSMOCHECK command can be used to view forest-wide and domain-wide operational roles.
Verify that the schema master and each infrastructure master has performed inbound replication of Active Directory since last booted. Inbound replication can be verified by using the REPADMIN /SHOWREPS DCNAME command, where DCNAME is the NetBIOS computer name or the fully qualified computer name of a domain controller.
EventLog Review
Examine the event logs on all the domain controllers for problematic events. The event logs must not contain serious event messages that indicate a problem with any of the following processes and components:
physical connectivity
network connectivity
name registration
name resolution
authentication
Group Policy
security policy
disk subsystem
schema
topology
replication engine
Disk Space Inventory
DNS Scavenging (Optional)
Enable DNS Scavenging at 7-day intervals for all DNS servers in the forest.
Disable the DLT Server Service (Optional)
April 26th, 2008 by shiraj
So you and your friends have a wild party and you wake up in the morning to realize someone has changed the admin password on your beloved mac and you can no longer access your computer. No problem, you can just pop in the OS X DVD that came with your computer and reset the password….but wait, that’s missing too.
Here’s how to reset your OS X password without an OS X CD. You need to enter terminal and create a new admin account:
- Reboot
- Hold apple + s down after you hear the chime.
- When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):
- mount -uw /
- rm /var/db/.AppleSetupDone
- shutdown -h now
- After rebooting you should have a brand new admin account. When you login as the new admin you can simply reset the old account password or delete the old one and you’re good to go again!
April 20th, 2008 by shiraj
Change to Graphical User Mode from Text
Login as root and type startx, if that doesnt work try Xconfigurator and follow the prompts.
Navigation:
Move back: cd /
cd volumes/
virtual filesystem: cd /vmfs
copy file = cp
copy file to directory shiraj: cp filename /home/shiraj
df -h = listfile, show size of disk, and available
du -hs = show disk size
du = directory list expanded
move/rename:
mv to rename filename test to test.bak: mv test test.bak
File Attribute and permission:
List: ls, ls /home, ls -alF
list folder with: ls -alF drwxr-xr-x 4 root wheel 136 29 Sep 2006 xgrid/
drwxr -xr -x : d is for directory, rwx = user permission, r -x= group permission, r -x=all
Changeing Permission:
change file write permission for all: chmod a+w filename
change group: chgrp
change owner: chown w=write, g=group, u=user, x=all
DISKS
fdisk -l – this will display list of drives.
USING VI FILE EDITING
edit or view file test.cfg: vi test.cfg
insert to start editing: i
to out of edit mode: esc
close (semicolon): :
close quit yes: :q!
write save quite and yes: :wq!
to check large log file name test: tail
test last 30 line of filename test: tail -30 test
April 20th, 2008 by shiraj
Flush DNS in OS X (10.5.2) Terminal : type bash then dscacheutil -flushcache
in old version bash-2.05a$ lookupd -flushcache