How to recover mysql root password in Linux

mysql

I installed my mysql two months ago and got busy afterwards. I already set everything, root password, permissions, cron for dump, phpmyadminl and some other stuffs. Since i got busy, never had a chance to explore and go back until now. But the problem is, i forgot the root password i set. In case you need to recover the root password in Linux here are some steps that can help you.

 

 

Step # 1: Stop the MySQL server process.

Step # 2: Start the MySQL (mysqld) server/daemon process with the –skip-grant-tables option so that it will not prompt for password.

Step # 3: Connect to mysql server as the root user.

Step # 4: Setup new mysql root account password i.e. reset mysql password.

Step # 5: Exit and restart the MySQL server.

 

The corresponding commands to use in accordance to above steps are the following.  Make sure you are logged as root in your linux box when doing it.

Step # 1 : Stop mysql service

# /etc/init.d/mysql stop

Output:

Stopping MySQL database server: mysqld.

Step # 2: Start to MySQL server w/o password:

# mysqld_safe --skip-grant-tables &

Output:

130607 14:16:49  mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
130607 14:16:49  InnoDB: Initializing buffer pool, size = 8.0M
130607 14:16:49  InnoDB: Completed initialization of buffer pool
130607 14:16:49  InnoDB: Started; log sequence number 0 44233

Step # 3: Connect to mysql server using mysql client:

# mysql -u root

Output:

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.1.15-Debian_1-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>

Step # 4: Setup new MySQL root user password

mysql> use mysql;
mysql> update user set password=PASSWORD("New_root_password") where User='root';
mysql> flush privileges;
mysql> quit

Step # 5: Stop MySQL Server:

# /etc/init.d/mysql stop

Output:

Stopping MySQL database server: mysqld
STOPPING server from pid file /var/run/mysqld/mysqld.pid
mysqld_safe[6186]: ended
[1]+  Done                    mysqld_safe --skip-grant-tables

Step # 6: Start MySQL server and test it

# /etc/init.d/mysql start
# mysql -u root -p

 

Reference

Recover/Reset and Change Administrator Password for Windows Operating System

I have my computer for 3 years after someone gave it to me. The whole system was been already installed and its ready to be used. Now after 3 years of using it i need to do some stuff that only the superuser administrator can do, even though my own username is an administrator type. Well i tried booting up using the administrator but i don’t know what the password is.  Luckily there are some methods that i can use to recover it. Here are some methods.

DISCLAIMER: Following information should be used only if its your system and you have forgotten account password. Don’t use this information to access a system which is not yours without permission.

1st Method:

This method includes the first thing which should do whenever you forget your Windows login password. When we install Windows, it automatically creates an account “Administrator” and sets its password to blank. So if you forget your user account password then try this:

Start your computer and when you see Windows Welcome screen / Login screen, press <ctrl>+<alt>+<del> keys twice and it’ll show Classic Login box.

Windows_Classic_Logon_Box.png

Now type “Administrator” (without quotes) in Username and leave Password field blank. Now press Enter and you should be able to log in Windows.

Now you can reset your account password from “Control Panel -> User Accounts“.

Same thing can be done using Safe Mode. In Safe Mode Windows will show this in-built Administrator account in Login screen.

2nd Method:

If the above mentioned trick doesn’t work, try following trick which is actually a loophole in Windows XP Setup and also a big security hole:

A. Boot using Windows XP Setup CD and follow the instruction like Accepting EULA, etc.

B. When it asks to repair your existing Windows installation, accept it and press “R” to run the repair.

C. Setup will start repairing your Windows and will start copying files, etc.

D. After a few minutes setup will restart your system and when it restarts don’t press any key when it shows “Press any key to continue…” otherwise Setup will start from the beginning. Don’t press any key and setup will resume where it left.

E. Now it’ll start doing other tasks and will show a small progressbar with a few details in left side.

F. Look carefully at the details and when it shows “Installing devices“, press <Shift>+F10 keys in your keyboard.

G. It’ll open a Command Prompt window. Now type nusrmgr.cpl and press <Enter>.

Remove_Change_Administrator_Password_Using_Windows_XP_Setup.png

H. It’ll open the same “User Accounts” window which you see in Control Panel.

I. Now you can remove or reset any account password without any problem.

3rd Method:

Windows XP and later Windows versions provide a built-in method to recover forgotten password by using “Password Reset Disk“. If you created a Password Reset Disk in past, you can use that disk to reset the password.

If you don’t know how to create a password reset disk, lets tell you in details. You can create the password reset disk using Control panel -> User Accounts applet.

First open Control Panel and click on User Accounts icon. It’ll open User Accounts window. Now click on your user account and then click on “Prevent a forgotten password” link given in left-side pane. It’ll open forgotten password wizard as shown in following screenshot:

Create_Windows_Password_Reset_Disk.png

Follow the instructions and you’ll have a password reset disk in your hand.

4th Method:

You can also use various bootable rescue CDs to reset your Windows password as mentioned in following link:

Download FREE Bootable Rescue CDs from Kaspersky, BitDefender, Avira, F-Secure and Others

There are also a few 3rd party utilities available to help you recover your Windows password such as:

  • UBCD for Windows
  • Ultimate Boot CD (UBCD)
  • Offline NT Password & Registry Editor

You can search for their download links on Google, Bing or any other favorite search engine.

5th Method:

If all fails, then simply reinstall Windows and create new account. To recover lost data, you can use Data recovery tools available on net but the chances will be very low to get data back.

Please post any suggestions if  you found better ways to deal with  forgotten administrator password.

Reference:

askvg

Prison Break (A TV series that blows my mind)

The past few days i was very busy watching the tv series Prison break. For some this might be a little backward but i am just too proud too share it. I saw the series on netflix and watched since then. Prison Break got my attention because the plot is so enticing and every episode is very mind blowing making you wonder what will happen next. This show gave life to the famous sentence “expect the unexpected”. This movie is truly a perfect example of TV made perfect. For series fanatics try watching this and you will never regret it. Check out some information about this TV Show.

Prison Break

Prison-Break

Prison-Break

Television Series
Prison Break is an American television serial drama created by Paul Scheuring, that was broadcast on Fox for four seasons, from 2005 until 2009.
 The series revolves around two brothers; one has been sentenced to death for a crime he did not commit, and the other devises an elaborate plan to help his brother escape prison Wikipedia
First episode: August 29, 2005
Final episode: May 15, 2009
Theme songs: Prison Break Anthem, Prison Break Anthem, Pas le temps, Prison Break Theme Song, Over the Rainbow
Season Synopsis:
Prison Break Season 1

Prison Break Season 1

Season 1 -The first season follows the rescue of Lincoln Burrows (Dominic Purcell), who is accused of murdering Terrence Steadman (John Billingsley), the brother of Vice President of the United States Caroline Reynolds (Patricia Wettig). Lincoln is sentenced to death and is incarcerated in Fox River State Penitentiary where he awaits his execution. Lincoln’s brother, brilliant structural engineer Michael Scofield (Wentworth Miller), is convinced of Lincoln’s innocence and formulates an escape plan. In order to gain access to Fox River, Michael commits an armed robbery which results in his being sentenced to Fox River. In prison, Michael befriends the prison doctor Sara Tancredi (Sarah Wayne Callies) when he pretends to suffer from Type 1 diabetes, in order to gain daily access to the prison’s infirmary. The brothers’ fight to ward off the execution is aided by their lifelong friend Veronica Donovan (Robin Tunney), who begins to investigate the conspiracy that put Lincoln in jail. However, they are hindered by covert agents, members of an organization known as The Company. The Company was responsible for framing Lincoln, and they did so because of Lincoln’s father, Aldo Burrows (Anthony Denison), and his former connections to the company. The brothers, along with six other inmates, Fernando Sucre (Amaury Nolasco), Theodore “T-Bag” Bagwell (Robert Knepper), Benjamin Miles “C-Note” Franklin (Rockmond Dunbar), David “Tweener” Apolskis (Lane Garrison), John Abruzzi (Peter Stormare), and Charles “Haywire” Patoshik (Silas Weir Mitchell), who come to be known as the Fox River Eight, escape in the season finale.

Prison Break Season 2

Prison Break Season 2

Season 2- The second season begins eight hours after the escape, focusing mainly on the eight escapees. Series creator Paul Scheuring describes the second season as “The Fugitive times eight” and likens it to the “second half of The Great Escape.”[5] The fugitives split up and journey to locations across the country with the authorities close behind them as they each pursue their individual goals. Brad Bellick (Wade Williams) gets fired from the prison where he worked as the main guard and chases after the inmates himself for the reward money. Several of the escapees reunite in search of a large cache of money buried long ago by another Fox River inmate, Charles Westmoreland (Muse Watson). Federal agent Alexander Mahone (William Fichtner) is assigned to track down and capture the eight fugitives, but is revealed to be working for The Company, which wants all eight men dead. When Sara discovers her father, Governor Frank Tancredi (John Heard), has been killed, she meets with Michael, remaining with him as the brothers try to bring down now-President Reynolds, a Company member. To ensure the brothers’ safety, Sara allows herself to be arrested and faces trial. During the trial, the testimony of former Secret Service agent Paul Kellerman (Paul Adelstein), who used to work for the Company-controlled President, exonerates Lincoln and Sara. Half of the escapees are killed or recaptured, but the brothers make it to Panama. Michael, T-Bag, Mahone, and Bellick are arrested by the Panamanian authorities and imprisoned at the Penitenciaría Federal de Sona.

Prison Break Season 3

Prison Break Season 3

Season 3The third season follows both Michael inside Sona and Lincoln on the outside in Panama. Sona is a prison that has been run by the inmates and guarded only from the outside due to a riot the year before. Burrows is quickly contacted by Gretchen Morgan (a Company operative who was in charge of operations in Panama) who kidnapped his son LJ (Marshall Allman) and Sara, the woman Michael loves. He is told that The Company wants Scofield to break James Whistler (Chris Vance) out of Sona. The season follows Michael and Whistler’s trials in formulating an escape plan, as Michael has to deal with extreme tension and as Lincoln deals with the Company’s operative Gretchen Morgan (Jodi Lyn O’Keefe). Sucre gets a job at the prison to aid Michael in his escape plan. When Lincoln attempts to rescue Sara and LJ following a clue provided by Sara, Gretchen claims to have beheaded Sara and sends Lincoln a head in a box as a warning. As the season ends, the pair manage to escape along with Mahone, and another inmate, Luis, leaving behind several accomplices including T-Bag and Bellick. Sucre’s identity is discovered by a prison guard and he is thrown into Sona just after the escape. LJ and Sofia (who was captured for a guarantee that Whistler would go with her) are traded for Whistler, and Michael seeks revenge against Gretchen for Sara’s death.

Prison Break Season 4

Prison Break Season 4

Season 4- The major storyline for the fourth season concerns a team recruited by Homeland Security agent Don Self (Michael Rapaport) to obtain Scylla. Although the team initially believes it to be the Company’s “black book”, it is later revealed to contain information on an advanced renewable power cell. Over the course of the first half of the season, the team obtains cards to access Scylla, and breaks into Company headquarters to steal it. In the first half, Sara is discovered to be alive, Bellick dies when he sacrifices himself, and Self is revealed to be a double agent and is planning to sell Scylla to the highest bidder. Reluctantly, Lincoln decides to join the Company to get it back, while Michael suffers from a hypothalamic hamartoma. He is treated and operated on by the Company. Michael later learns that his mother, Christina (Kathleen Quinlan) is still alive and was an agent of the Company, who is revealed to acquire Scylla to sell to the highest bidder. Eventually, the series’ main storyline of the past 4 seasons ends in Miami, where Scylla is recovered by Michael and the team, the General and the Company are taken down, and Sara kills Christina.

The last 2 episodes of the season represent the series finale and aired as the television movie Prison Break: The Final Break. In the movie, a story is told explaining what happened following the take down of the General and the Company and the strange scar on Sara’s shoulder. This story involves the incarceration of Sara in Miami-Dade county penitentiary due to budgetary cutbacks; there are cots installed there acting as the county jail. With Krantz and T-Bag in the adjacent Men’s facility, Krantz wants Sara dead and offers a $100,000 bounty. Michael hears of the bounty and devises plans for Sara’s escape. In the end, knowing that he is dying from a brain tumor, Michael sacrifices himself for his brother, wife and child.

Cast and Characters
Dominic Purcell Lincoln Burrows (81 episodes, 2005-2009)
Wentworth Miller Michael Scofield (81 episodes, 2005-2009)
Amaury Nolasco Fernando Sucre (81 episodes, 2005-2009)
Robert Knepper Theodore ‘T-Bag’ Bagwell (80 episodes, 2005-2009)
Sarah Wayne Callies Dr. Sara Tancredi (69 episodes, 2005-2009)
Wade Williams Brad Bellick (67 episodes, 2005-2008)
William Fichtner Alex Mahone (59 episodes, 2006-2009)
Paul Adelstein Paul Kellerman (46 episodes, 2005-2009)
Marshall Allman LJ Burrows (44 episodes, 2005-2008)
Rockmond Dunbar Benjamin Miles ‘C-Note’ Franklin (40 episodes, 2005-2009)
Jodi Lyn O’Keefe Gretchen Morgan / … (37 episodes, 2007-2009)
Leon Russom General Jonathan Krantz (30 episodes, 2006-2009)
Robin Tunney Veronica Donovan (23 episodes, 2005-2006)
Stacy Keach Warden Henry Pope / … (23 episodes, 2005-2007)
Michael Rapaport Don Self (22 episodes, 2008-2009)
Phillip Edward Van Lear Louis Patterson (21 episodes, 2005-2006)
Peter Stormare John Abruzzi (20 episodes, 2005-2006)
Muse Watson Charles Westmoreland (19 episodes, 2005-2008)
Barbara Eve Harris FBI Agent Felicia Lang (19 episodes, 2006-2009)
Frank Grillo Nick Savrinn (18 episodes, 2005-2006)
Jason Davis FBI Agent Wheeler (18 episodes, 2006-2008)
Christian Stolte Corrections Officer Keith Stolte (18 episodes, 2005-2007)
Patricia Wettig Vice President Caroline Reynolds / … (18 episodes, 2005-2007)
Reggie Lee Bill Kim (16 episodes, 2006-2007)
Danay Garcia Sofia Lugo (15 episodes, 2007-2009)
Matt DeCaro Corrections Officer Roy Geary / … (15 episodes, 2005-2006)
Mac Brandt Corrections Officer Mack Andrews Andrews / … (15 episodes, 2005-2006)
Craig Cole FBI Agent Eric Houle (15 episodes, 2006-2007)
Chris Vance James Whistler (14 episodes, 2007-2008)
Lane Garrison David ‘Tweener’ Apolskis (14 episodes, 2005-2006)
Robert Wisdom Lechero (13 episodes, 2007-2008)
Carlo Alban McGrady (13 episodes, 2007-2008)
Danny McCarthy Daniel Hale (13 episodes, 2005-2006)
DuShon Monique Brown Nurse Katie Welch (13 episodes, 2005-2007)
Scott Challgren Sona Inmate #143 (13 episodes, 2007-2008)
Shannon Lucio Trishanne / … (11 episodes, 2008)
Laurence Mason Sammy (10 episodes, 2007-2008)
John Heard Governor Frank Tancredi (10 episodes, 2005-2006)
Mark Morettini Correctional Officer Rizzo Green / … (10 episodes, 2005-2006)
Cress Williams Wyatt (9 episodes, 2008)
Stacy Haiduk Lisa Tabak (9 episodes, 2008)
Camille Guaty Maricruz Delgado (9 episodes, 2005-2007)
Silas Weir Mitchell Charles ‘Haywire’ Patoshik (9 episodes, 2005-2007)
Joe Nunez Manche Sanchez (9 episodes, 2006-2007)
Helena Klevorn Dede Franklin (9 episodes, 2005-2007)
Clay Dove Prisoner In Bathrobe / … (9 episodes, 2007-2008)
Wilbur Fitzgerald Bruce Bennett (8 episodes, 2006-2008)
Cynthia Kaye McWilliams Kacee Franklin (8 episodes, 2005-2007)
Davi Jay Papo (8 episodes, 2007)
Callie Thorne Pam Mahone (8 episodes, 2006-2008)
Kathleen Quinlan Christina Rose Scofield (8 episodes, 2008-2009)
Dan Sachoff Krantz’s Aide (8 episodes, 2008-2009)
Steve M. Clark Illinois State Trooper / … (8 episodes, 2006-2007)
Michelle Forbes Samantha Brinker (7 episodes, 2005-2006)
James Hiroyuki Liao Roland Glenn (7 episodes, 2008)
Ted King Downey (7 episodes, 2008-2009)
Joseph Melendez Rafael (7 episodes, 2007-2008)
Anthony Fleming Trumpets (7 episodes, 2005-2007)
Jennifer Joan Taylor Becky (7 episodes, 2005-2006)
Javon Johnson C.O. JJ / … (7 episodes, 2005-2006)
John Stacho County Sheriff K-9 / … (7 episodes, 2005-2006)
David Dino Wells Jr. Trumpets Right-hand Man / … (7 episodes, 2005-2006)
Kim Coates Richard Sullins / … (6 episodes, 2006-2009)
Raphael Sbarge Ralph Becker (6 episodes, 2008-2009)
Michael Bryan French Gregory White (6 episodes, 2008)
Curtis Wayne Cheo (6 episodes, 2007)
Ron Yuan Feng Huan (6 episodes, 2008)
Crystal Mantecon Sister Mary Francis / … (6 episodes, 2007-2008)
Mo Deja Captain Pumales / … (6 episodes, 2007-2008)
Tim Krueger Lawyer / … (6 episodes, 2005-2006)
James Zahn Inmate / … (6 episodes, 2005-2006)
Tom Lowell Cronie / … (6 episodes, 2005)
Chris Nolte Abruzzi Cronie (6 episodes, 2005)
Robert F. Cawley Airline Passenger / … (6 episodes, 2006-2007)
K.K. Dodds Susan Hollander (5 episodes, 2006-2007)
Tony Denison Aldo Burrows (5 episodes, 2006)
Holly Valance Nika Volek (5 episodes, 2005-2006)
Kurt Caceres Hector Avila (5 episodes, 2005-2006)
Steve Tom Stuart Tuxhorn (5 episodes, 2008-2009)
Peter J. Reineman Gus Fiorello (5 episodes, 2005)
John S. Davies Elliott Pike / … (5 episodes, 2007)
Christian Bowman Agent King (5 episodes, 2007-2008)
Rich Komenich Maggio (5 episodes, 2005-2006)
Dylan Minnette Young Michael (5 episodes, 2005-2006)
Jessalyn Gilsig Lisa Rix (4 episodes, 2005)
Graham McTavish Ferguson (4 episodes, 2008)
Al Sapienza Philly Falzone (4 episodes, 2005)
Heather McComb Rita Morgan (4 episodes, 2008)
Dameon Clarke Andrew Blauner (4 episodes, 2008)
Kristin Malko Debra Jean Belle (4 episodes, 2006)
Manny Rubio Nieves (4 episodes, 2007)
Regan Licciardello Emily Morgan (4 episodes, 2008)
Daniel Allar Avocado (4 episodes, 2006-2007)
Carlos Compean Colonel Escamilla (4 episodes, 2007)
Kevin Sizemore Harlan (4 episodes, 2008)
Rachel Loera Theresa Delgado (4 episodes, 2006-2008)
Anthony Starke Sebastian Balfour (4 episodes, 2005)
Steven Chester Prince Agent Blondie (4 episodes, 2006-2007)
Wesley Walker Aryan Brother / … (4 episodes, 2005-2006)
Tom McElroy Reverend Mailor / … (4 episodes, 2005)
Danielle Campbell Gracey Hollander (4 episodes, 2006-2007)
Quinn Wermeling Zack Hollander (4 episodes, 2006-2007)
Jenny Kern Allison Hale (4 episodes, 2005-2009)
Antoine McKay C.O. Antoine Roy / … (4 episodes, 2005-2006)
Joe Holt Pistachio / … (4 episodes, 2007-2008)
Jennifer Toppan FBI Agent / … (4 episodes, 2006-2007)
John Quilico Aryan / … (4 episodes, 2005)
Jeffrey S. Parkerson Federal Agent / … (4 episodes, 2006-2007)
Bob Fanucchi Auto Shop Manager / … (4 episodes, 2006)
Jeff Perry Terrence Steadman (3 episodes, 2006-2007)
Michael O’Neill Herb Stanton (3 episodes, 2008)
Jude Ciccolella Howard Scuderi (3 episodes, 2008)
Julio Cedillo General Mestas (3 episodes, 2008)
Diana Scarwid Jeanette Owens (3 episodes, 2006)
Reynaldo Gallegos Cristobel (3 episodes, 2007-2008)
F.J. Rio Augusto (3 episodes, 2007-2008)
Alex Fernandez Captain Hurtado (3 episodes, 2007)
Alexandra Lydon Ann Owens (3 episodes, 2006)
Shaun Duke Griffin Oren (3 episodes, 2008-2009)
John Billingsley Terrence Steadman (3 episodes, 2006)
Alec Rayme Cyrus (3 episodes, 2007-2008)
Gustavo Mellado Alphonso Gallego / … (3 episodes, 2007-2008)
Anthony Escobar Grave Digger (3 episodes, 2007)
Nathan Castaneda Sancho / … (3 episodes, 2008)
Korey Simeone Techie / … (3 episodes, 2006-2007)
Ora Jones Wendy (3 episodes, 2005)
Luis Rolon Military Guard #2 / … (3 episodes, 2007-2008)
Laura Wade Syd, Tattoo Artist (3 episodes, 2005-2006)
Blaine Hogan Seth (3 episodes, 2005)
Jason Wells Bo – White Cap / … (3 episodes, 2005-2006)
Mike Seal Octavio (3 episodes, 2007-2008)
Michael Vieau Christopher Trokey (3 episodes, 2005)
Gianni Russo Gavin Smallhouse (3 episodes, 2005)
Max Kirsch Young Lincoln Burrows / … (3 episodes, 2005-2006)
Brad Hawkins Tough Guy #2 / … (3 episodes, 2006-2007)
Cedric Young Choppy (3 episodes, 2005)
Philip Rayburn Smith Adrian Rix (3 episodes, 2005)
Kurt Naebig C.O. #1 / … (3 episodes, 2005-2006)
Robin Robinson Interviewer / … (3 episodes, 2005-2006)
Kelly O’Neil Jackson Transport Guard / … (3 episodes, 2006-2007)
Brian Nicholas Courthouse Attorney / … (3 episodes, 2006-2007)
Brent Allen Caputo Courtroom Attendee / … (3 episodes, 2005-2006)
Haley Nero Agent Hale’s Daughter / … (3 episodes, 2005-2006)
Lindsey Nero Prison Visitor (3 episodes, 2005-2006)
William Nero Sr. Police Officer (3 episodes, 2005)
Todd Peters House Buying Husband / … (3 episodes, 2006-2007)
Ron Bath Airport Traveler / … (3 episodes, 2006)
Larry Jack Dotson Recovering Addict / … (3 episodes, 2006)
Randy Herman Fishermen (3 episodes, 2007)
Chris Bruno Agent Todd Wheatley (2 episodes, 2009)
Anthony Azizi Naveen Banarjee (2 episodes, 2009)
Ivar Brogger Vincent Sandinsky (2 episodes, 2009)
Aisha Hinds Guard Cowler (2 episodes, 2009)
Mark Pellegrino Patrick Vikan (2 episodes, 2008)
Titus Welliver Scott / … (2 episodes, 2008)
William Mapother FBI Agent Chris Franco (2 episodes, 2009)
Kristin Lehman Jane Phillips (2 episodes, 2006)
Kaley Cuoco Sasha (2 episodes, 2007)
Mark Harelik Marty Gregg (2 episodes, 2007)
Lori Petty Daddy (2 episodes, 2009)
José Zúñiga Coyote (2 episodes, 2006)
Kevin Dunn Cooper Green (2 episodes, 2007)
Reno Wilson Agent Wilson Wright / … (2 episodes, 2009)
Marc Macaulay Mr. Ives (2 episodes, 2006)
Romy Rosemont Detective Kathryn Slattery (2 episodes, 2006)
Amy Aquino Warden Alice Simms (2 episodes, 2009)
Tina Holmes Kristine Kellerman (2 episodes, 2007)
Dominic Keating Andrew Tyge (2 episodes, 2007)
Ranjit Chowdhry Dr. Marvin Gudat (2 episodes, 2006)
Mike Jones Darius (2 episodes, 2005-2006)
Michael Cudlitz Corrections Officer Robert ‘Bob’ Hudson (2 episodes, 2005)
Karl Makinen Derek Sweeney (2 episodes, 2007-2008)
Troy Ruptash Jasper (2 episodes, 2008)
Dendrie Taylor Blonde Guard (2 episodes, 2009)
Brandon Smith Ed Pavelka / … (2 episodes, 2006)
Adina Porter Leticia Barris (2 episodes, 2005)
Castulo Guerra General Zavala (2 episodes, 2007-2008)
Sean Hennigan Judge (2 episodes, 2007)
Summer Selby Prosecutor (2 episodes, 2007)
Tom Choi Feng’s Driver (2 episodes, 2008)
Daniel J. Travanti President Richard Mills (2 episodes, 2005-2006)
Andra Fuller Trey (2 episodes, 2006-2007)
Tracy Letts Peter Tucci (2 episodes, 2006)
Tara Karsian Georgie (2 episodes, 2008)
Victor Pagan Carlos (2 episodes, 2008)
Ian Patrick Williams Bearded Man (2 episodes, 2009)
Deanna Dunagan Judy Pope (2 episodes, 2005)
Michael Gaston Quinn (2 episodes, 2005)
Andrew Rothenberg Sklar (2 episodes, 2006)
Joe Inscoe Lyle Sands (2 episodes, 2006)
David Stokey Junior Attorney (2 episodes, 2007)
Kelvin Han Yee Company Surgeon (2 episodes, 2008)
John Sanderford Nathaniel Edison (2 episodes, 2008)
Alicia Lagano Agatha Warren (2 episodes, 2009)
Livia Treviño Guard Hucks (2 episodes, 2009)
Carolyn Wickwire Bellick’s Mom (2 episodes, 2006-2008)
Armando Leduc Menjavar (2 episodes, 2008)
Richmond Arquette Joe Daniels (2 episodes, 2009)
Rainbow Borden Snags (2 episodes, 2009)
Joel Hatch Judge Randall Kessler (2 episodes, 2006)
Justin Meeks Pilot (2 episodes, 2006)
Maurice Ripke Petey Cordero (2 episodes, 2006)
Carlos Sanchez Guard #1 (2 episodes, 2008)
M. Serrano Guard #2 / … (2 episodes, 2008)
John Turk Turk (2 episodes, 2005)
Zachary Friedman Cameron Mahone (2 episodes, 2007-2008)
Dot Jones Skittlez (2 episodes, 2009)
Dell Johnson IDOC Captain (2 episodes, 2006-2007)
J.D. Evermore Woody (2 episodes, 2006)
Wayne Dehart Vagrant (2 episodes, 2006-2007)
Sara Jane Henriques Flora (2 episodes, 2007)
Alan T. Coleman Inmate / … (2 episodes, 2007)
Sufe Bradshaw Wife (2 episodes, 2009)
Rolando Boyce Cop / … (2 episodes, 2005-2006)
Matthew Tompkins Leon (2 episodes, 2006)
John Elliott ND Agent #2 / … (2 episodes, 2008)
Tab Baker Crab Simmons (2 episodes, 2005-2006)
Jacqueline Williams Special Agent Tangrin (2 episodes, 2005)
John McIntosh Doctor #2 / … (2 episodes, 2006-2007)
Paul T. Taylor Government Spook / … (2 episodes, 2007)
Chris Nelson Norris Military Limo Driver (2 episodes, 2008)
Peggy Dunne Motor Pool CO (2 episodes, 2009)
Howie Johnson Lucasz / … (2 episodes, 2005)
Edrick Browne County Guard / … (2 episodes, 2007)
Robert Newell Gringo / … (2 episodes, 2007)
Alan Wilder Prison Chaplain / … (2 episodes, 2005)
Vince Davis Dr. Silas / … (2 episodes, 2006-2007)
Scott Edward Logan Car Cop (2 episodes, 2006)
Steve Barnes Agent Drucker (2 episodes, 2007)
Jay Whittaker Commander Meyers / … (2 episodes, 2005-2006)
Brad Fleischer Theo (2 episodes, 2005)
Scott Jaeck Trenchcoat (2 episodes, 2006)
Gocha Chertkoev Russian Dude / … (2 episodes, 2007-2008)
Sam Medina Inmate #2 / … (2 episodes, 2007-2008)
Kwame Amoaku Stroker (2 episodes, 2005)
Flavio Hinojosa Junkie / … (2 episodes, 2007)
Lea Coco C.O. #2 / … (2 episodes, 2005-2006)
Damon Carney Aide / … (2 episodes, 2006-2007)
Russell Reynolds FBI Agent / … (2 episodes, 2006)
Daniel Ruben Con #1 / … (2 episodes, 2005)
Lawrence Varnado C.O. #1 / … (2 episodes, 2006-2007)
Lester Kevin Senor C.O. Kevin (2 episodes, 2006)
Wyndll Robertson Tower Guard (2 episodes, 2007)
James McCammond Another Goon / … (2 episodes, 2005-2006)
Gary Houston Suit #2 (2 episodes, 2006)
Terry Berner Electrician (2 episodes, 2005-2006)
Bradley Johnson ND Agent #2 / … (2 episodes, 2006-2007)
Cliff Frazier Orderly (2 episodes, 2006)
Ray Frewen Suit #1 (2 episodes, 2006)
Jeffrey Schmidt Reporter #1 / … (2 episodes, 2006-2007)
T.J. Jagodowski Pilot (2 episodes, 2006)
Jamison Haase Damani (2 episodes, 2008)
John Lister R & D Officer (2 episodes, 2005)
Sky Soleil Colorado Cop (2 episodes, 2008)
Dennis Janiske Inmate (2 episodes, 2005-2006)
Joyce Thurston Baseball Field Patron / … (2 episodes, 2005-2006)
Michael Cook Airport Traveler / … (2 episodes, 2005)
Brandon DeShazer Young Inmate (2 episodes, 2005)
Nick Doetsch Abruzzi’s Ex-Thug / … (2 episodes, 2005)
Matt Dworzanczyk Priest (2 episodes, 2005)
James Hoelzel Prison Inmate (2 episodes, 2005)
Michael L. Howard Inmate / … (2 episodes, 2005)
Larry Nazimek Airline Pilot / … (2 episodes, 2005)
Chris Papadopoulos Inmate / … (2 episodes, 2005)
Luke Schneider Inmate / … (2 episodes, 2005)
Robyn Jean Springer Waitress (2 episodes, 2006-2009)
Charles Assiff Cop in Hardware Store / … (2 episodes, 2006-2007)
Starla Osburn Pedestrian / … (2 episodes, 2006-2007)
John Johns Techie (2 episodes, 2006)
Randall Jones Reporter / … (2 episodes, 2006)
Jim Moore Sheriff / … (2 episodes, 2006)
Estella Perez Recovering Addict (2 episodes, 2006)
Joseph L. Rubino Psychiatric Patient (2 episodes, 2006)
Jonathan Samuels Inmate (2 episodes, 2006)
January Stern News Reporter (2 episodes, 2006)
Chuck Wagner Dayplayer (2 episodes, 2006)
John Weeks Deputy Sheriff / … (2 episodes, 2006)
Tim Taylor English Tourist (2 episodes, 2007)
Adrienne McQueen Prison Guard (2 episodes, 2009)
Wendy Riordan Mail Con (2 episodes, 2009)

references:

Wikipedia

IMDB

iPad 3 Screen & Glass Repair DIY

broken ipad glass

So you just had your new ipad. Your so happy using it, took care of it and even baby it, and all of a sudden in an unprecedented event it slipped off your hand, your kid throw it, your partner sat on it, or something fell on it. The result, a broken screen. I searched net and saw on one forum the cost  of using apple service center would cost USD 200.00 or more. Wow its almost the amount of getting a new second generation Ipad. And using a third party repair shop costs USD 99.00. Wow, even though its lower than the cost on apple’s service center its still expensive. Unless, you want to do it yourself, there are kits that is available online for as low as USD 40.00. Tedious, but looks tempting. Watch out this demonstration on how to do it yourself.

How to change backup Location of Iphone, Ipad, Ipod on Windows/Mac

IOS

Backing up of your IOS devices is the best preventive maintenance in case the device was stolen and damaged. By default your devices writes the backup on the Operating System’s default installation drive. Well, on certain times you can use the icloud in which a free 5 GB data storage is available for you, that’s in case you only need 5 GB, in excess to this you will need to pay for the additional icloud storage. So most certain, if you prefer to just have the backup on your local computer on a separate data disk here’s how you can link the existing device backup path to a different disk/location(usually a portable external storage).

backup_device

external backup device

OS X

1) Make sure that iTunes is closed.

2) You will now move your folder called ~/Library/Application Support/MobileSync/Backup/ to the drive you want to back up to. For instance, an external drive or secondary drive within your computer. Whichever works for you.

3) Launch Terminal Applications/Utilities/Terminal and type in the following command line:

ln -s /Volumes/DriveName/Backup/ ~/Library/Application\ Support/MobileSync/Backup

In the above example, ‘DriveName’ would be the name of the new backup location.

(Credit: Link)


Windows XP

1) Ensure that iTunes in closed.

2) Download Junction ( Or you can use MKlink for Windows, which will make things a little different in the command prompt)

3) Unzip Junction.exe to your username folder, which is usually found in C:\Documents and Settings\

4) You will now create a folder for the your backups where you want them to save. From there, you will move your current backup folder to that new location.

a) The default location of that backup folder is here: C:\Documents and Setting\username\Application Data\Apple Computer\MobileSync

b) You will now put it in the new location you want your backups to save to, such as an external drive.

5) Now run the Command Prompt and type the following:

junction “C:\Documents and Setting\\Application Data\Apple Computer\MobileSync\Backup” “H:\Backups\iPhone Backup”

In the above example, “H:\Backups\iPhone Backup” should be your own file path leading to the backup location you want to use.

6) Close the Command Prompt and open iTunes and backup.

(credit: Link)


Windows Vista and Windows 7

1) Ensure that iTunes is closed.

2) Move the C:\Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\ to the drive you want to back up to. Let’s say Drive H:\ again

3) Open a command prompt and create an NTFS junction point something like what’s shown below:

mklink /J “C:\Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup” “h:\Backup”

(Credit: Link)

Have a happy time cleaning up your main disk.

 

20 Most used Linux-based system monitoring tools

tuxsysad

The following are some of the  basic CLI, GUI, TUI commands to use in monitoring linux operated systems and helps in in-depth system analysis and debugging of server problems. These commands commonly help resolve issues regarding CPU, Memory, Network, and Storage.

1: top – Process Activity Command

The top program provides a dynamic real-time view of a running system i.e. actual process activity. By default, it displays the most CPU-intensive tasks running on the server and updates the list every five seconds.

#top 
top

top

2: vmstat – System Activity, Hardware and System Information

The command vmstat reports information about processes, memory, paging, block IO, traps, and cpu activity.

#vmstat -a
vmstat

vmstat

3: w – Find Out Who Is Logged on And What They Are Doing

w command displays information about the users currently on the machine, and their processes.

# w testuser 
w

w

4: uptime – Tell How Long The System Has Been Running

The uptime command can be used to see how long the server has been running. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.

# uptime
uptime

uptime

1 can be considered as optimal load value. The load can change from system to system. For a single CPU system 1 – 3 and SMP systems 6-10 load value might be acceptable.

5: ps – Displays The Processes

ps

ps

ps command will report a snapshot of the current processes. To select all processes use the -A or -e option:

# ps -A

ps is just like top but provides more information.

Show Long Format Output

# ps -Al
To turn on extra full mode (it will show command line arguments passed to process):
# ps -AlF

To See Threads ( LWP and NLWP)

# ps -AlFH

To See Threads After Processes

# ps -AlLm

Print All Process On The Server

# ps ax
# ps axu

Print A Process Tree

# ps -ejH
# ps axjf
# pstree

Print Security Information

# ps -eo euser,ruser,suser,fuser,f,comm,label
# ps axZ
# ps -eM

See Every Process Running As User testuser

# ps -U testuser -u testuser u

Set Output In a User-Defined Format

# ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm
# ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm
# ps -eopid,tt,user,fname,tmout,f,wchan

Display Only The Process IDs of Lighttpd

# ps -C lighttpd -o pid=
OR
# pgrep lighttpd
OR
# pgrep -u testuser php-cgi

Display The Name of PID 55977

# ps -p 55977 -o comm=

Find Out The Top 10 Memory Consuming Process

# ps -auxf | sort -nr -k 4 | head -10

Find Out top 10 CPU Consuming Process

# ps -auxf | sort -nr -k 3 | head -10

6: free - Memory Usage 

The command free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel.

# free 
free

free

7: iostat – Average CPU Load, Disk Activity

The command iostat report Central Processing Unit (CPU) statistics and input/output statistics for devices, partitions and network filesystems (NFS).

# iostat 
iostat

iostat

8: sar – Collect and Report System Activity

The sar command is used to collect, report, and save system activity information. To see network counter, enter:

sar

sar

# sar -n DEV | more
To display the network counters from the 24th:
# sar -n DEV -f /var/log/sa/sa24 | more
You can also display real time usage using sar:
# sar 4 5

9: mpstat – Multiprocessor Usage

The mpstat command displays activities for each available processor, processor 0 being the first one. mpstat -P ALL to display average CPU utilization per processor:

# mpstat -P ALL
mpstat

mpstat

10: pmap – Process Memory Usage

The command pmap report memory map of a process. Use this command to find out causes of memory bottlenecks.

# pmap -d PID 

To display process memory information for pid # 47394, enter:

# pmap -d 47394 
pmap

pmap

11 netstat – Network Statistics

The command netstat displays network connections, routing tables, interface statistics, masquerade connections, and multicast memberships

netstat

netstat

12: ss – Network Statistics

ss command is used to dump socket statistics. It allows showing information similar to netstat.

ss

ss

13: iptraf – Real-time Network Statistics

The iptraf command is interactive colorful IP LAN monitor. It is an ncurses-based IP LAN monitor that generates various network statistics including TCP info, UDP counts, ICMP and OSPF information, Ethernet load info, node stats, IP checksum errors, and others. It can provide the following info in easy to read format:

  • Network traffic statistics by TCP connection
  • IP traffic statistics by network interface
  • Network traffic statistics by protocol
  • Network traffic statistics by TCP/UDP port and by packet size
  • Network traffic statistics by Layer2 address
iptraf1

iptraf1

iptraf2

iptraf2

14: tcpdump – Detailed Network Traffic Analysis

The tcpdump is simple command that dump traffic on a network. However, you need good understanding of TCP/IP protocol to utilize this tool. For.e.g to display traffic info about DNS, enter:

 # tcpdump -i eth0 'tcp port 80'

To display all IPv4 HTTP packets to and from port 80, i.e. print only packets that contain data, not, for example, SYN and FIN packets and ACK-only packets, enter:

# tcpdump 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' 

To display all FTP session to 202.54.1.5, enter:

# tcpdump -i eth1 'dst 202.54.1.5 and (port 21 or 20' 

To display all HTTP session to 192.168.1.5:

# tcpdump -ni eth0 'dst 192.168.1.5 and tcp and port http'

Use wireshark to view detailed information about files, enter:

# tcpdump -n -i eth1 -s 0 -w output.txt src or dst port 80 
tcpdump

tcpdump

15: strace – System Calls

Trace system calls and signals. This is useful for debugging webserver and other server problems. See how to use to trace the process and see What it is doing.

Strace

Strace

16: /Proc file system – Various Kernel Statistics

/proc file system provides detailed information about various hardware devices and other Linux kernel information. See Linux kernel /proc documentations for further details. Common /proc examples:

# cat /proc/cpuinfo
# cat /proc/meminfo
# cat /proc/zoneinfo
# cat /proc/mounts
proc

proc

17: Nagios – Server And Network Monitoring

Nagios is a popular open source computer system and network monitoring application software. You can easily monitor all your hosts, network equipment and services. It can send alert when things go wrong and again when they get better. FAN is “Fully Automated Nagios”. FAN goals are to provide a Nagios installation including most tools provided by the Nagios Community. FAN provides a CDRom image in the standard ISO format, making it easy to easilly install a Nagios server. Added to this, a wide bunch of tools are including to the distribution, in order to improve the user experience around Nagios. See how to install Nagios

nagios

nagios

18: Cacti – Web-based Monitoring Tool

Cacti is a complete network graphing solution designed to harness the power of RRDTool’s data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices. It can provide data about network, CPU, memory, logged in users, Apache, DNS servers and much more. See how to install and configure Cacti network graphing tool on linux box.

cacti

cacti

19: KDE System Guard – Real-time Systems Reporting and Graphing

KSysguard is a network enabled task and system monitor application for KDE desktop. This tool can be run over ssh session. It provides lots of features such as a client/server architecture that enables monitoring of local and remote hosts. The graphical front end uses so-called sensors to retrieve the information it displays. A sensor can return simple values or more complex information like tables. For each type of information, one or more displays are provided. Displays are organized in worksheets that can be saved and loaded independently from each other. So, KSysguard is not only a simple task manager but also a very powerful tool to control large server farms.

kdesystemguard

kdesystemguard

20: Gnome System Monitor – Real-time Systems Reporting and Graphing

The System Monitor application enables you to display basic system information and monitor system processes, usage of system resources, and file systems. You can also use System Monitor to modify the behavior of your system. Although not as powerful as the KDE System Guard, it provides the basic information which may be useful for new users:

  • Displays various basic information about the computer’s hardware and software.
  • Linux Kernel version
  • GNOME version
  • Hardware
  • Installed memory
  • Processors and speeds
  • System Status
  • Currently available disk space
  • Processes
  • Memory and swap space
  • Network usage
  • File Systems
  • Lists all mounted filesystems along with basic information about each.
gnome-system-monitor

gnome-system-monitor

More Tools of interest

A few more tools:

  • nmap – scan your server for open ports.
  • lsof – list open files, network connections and much more.
  • ntop web based tool – ntop is the best tool to see network usage in a way similar to what top command does for processes i.e. it is network traffic monitoring software. You can see network status, protocol wise distribution of traffic for UDP, TCP, DNS, HTTP and other protocols.
  • Conky – Another good monitoring tool for the X Window System. It is highly configurable and is able to monitor many system variables including the status of the CPU, memory, swap space, disk storage, temperatures, processes, network interfaces, battery power, system messages, e-mail inboxes etc.
  • GKrellM – It can be used to monitor the status of CPUs, main memory, hard disks, network interfaces, local and remote mailboxes, and many other things.
  • vnstat – vnStat is a console-based network traffic monitor. It keeps a log of hourly, daily and monthly network traffic for the selected interface(s).
  • htop – htop is an enhanced version of top, the interactive process viewer, which can display the list of processes in a tree form.
  • mtr – mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.
  • wireshark - is a free and open-source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development, and education. Originally named Ethereal, in May 2006 the project was renamed Wireshark due to trademark issues.
  • snort – Snort’s open source network-based intrusion detection system (NIDS) has the ability to perform real-time traffic analysis and packet logging on Internet Protocol (IP) networks. Snort performs protocol analysis, content searching, and content matching. The program can also be used to detect probes or attacks, including, but not limited to, operating system fingerprinting attempts, common gateway interface, buffer overflows, server message block probes, and stealth port scans.
  • Centreon – Centreon is an Open Source software package that lets you supervise all the infrastructures and applications comprising your information system.

References:

http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html

http://www.wireshark.org/about.html