Recovering From a Corrupt NetInfo Database on OSX.4

I managed to corrupt my NetInfo database on an OS 10.4 server a few weeks ago by not cleanly unmounting the drive after booting from DVD and resetting the admin password. Long story short, this left me with no users on the system at all. With no users, I could not log in to create one, so I had to blow away the NetInfo database and restore it to factory defaults. This should only be done when you only have a small number of users, and don’t mind having to re-create them. Only the user account information is deleted, and the user directory is retained, but you will have to manually add any users you may have back into the system through the GUI, making sure that the new “user” references the old “user’s” account directory.

If you have more than just one or two users, you should use the procedure to recover from one of your NetInfo database backups. A backup of your this database is made at 3:15 every day so long as the computer is running. It is stored in “/var/backups/”, and here are some instructions on how to recover it from it. If, however, you don’t care about re-adding users, and simply want to get into your system quickly, or if you don’t have a backup to restore from, here is how you can do it:

BEWARE: THIS WILL COMPLETELY ERASE ALL USER ACCOUNT INFORMATION FROM THE SYSTEM!!! You are warned.

1) Start by booting your Mac into single user mode. To do this, hold down both the “Apple” and the “s” keys as the system boots.

2) The system will have mounted the “/” filesystem read-only to protect against data loss. To get “/” mounted read-write, we have to run two commands:

# /sbin/fsck -fy

# /sbin/mount -uw /

3) Now “/” is mounted read-write, so we can start with the real work. First, rename your existing NetInfo database to something else so the OS will not see it on the way up:

# mv /var/db/netinfo/local.nidb /var/db/netinfo/local.nidb.bad

# mv /var/db/netinfo/network.nidb /var/db/netinfo/network.nidb.bad

4) Next, remove the “.AppleSetupDone” file so the OS will kick you back into the installer upon boot and you can recreate your users.

# rm /var/db/.AppleSetupDone

5) Finally, reboot your system and recreate your users, making sure they are pointed towards their existing account directories.

# reboot

Bush Has Record Low I.Q.

Everyone knows that George W. Bush is a blithering idiot, but now we finally have some data, albeit fake, to back it up.

Apparently the Lovenstein Institute (does not actually exist) has been tracking presidential I.Q. for some time and George W. Bush is right where he belongs at the bottom of the barrel. Coming in at 91, he’s just slightly dumber than his father who managed to come out some seven points ahead of him at 98.

It turns out that this is a hoax, but it makes for a pretty funny story anyhow…

Via the Original source:

Since 1973, the Lovenstein Institute has published its research to the educational community on each new president, which includes the famous “IQ” report among others. There have been twelve presidents over the past 50 years, from F.D. Roosevelt to G.W. Bush, who were rated based on scholarly achievements, writings that they produced without aid of staff, their ability to speak with clarity, and several other psychological factors, which were then scored using the Swanson/Crain system of intelligence ranking.

The study determined the following IQs of each president as accurate to within five percentage points:

In order by presidential term
147 Franklin D. Roosevelt (D)
132 Harry Truman (D)
122 Dwight D. Eisenhower (R)
174 John F. Kennedy (D)
126 Lyndon B. Johnson (D)
155 Richard M. Nixon (R)
121 Gerald Ford (R)
175 James E. Carter (D)
105 Ronald Reagan (R)
098 George Bush (R)
182 William J. Clinton (D)
091 George W. Bush (R)

In IQ order
182 William J. Clinton (D)
175 James E. Carter (D)
174 John F. Kennedy (D)
155 Richard M. Nixon (R)
147 Franklin D. Roosevelt (D)
132 Harry Truman (D)
126 Lyndon B. Johnson (D)
122 Dwight D. Eisenhower (R)
121 Gerald Ford (R)
105 Ronald Reagan (R)
098 George Bush (R)
091 George W. Bush (R)

The six Republican presidents of the past 50 years had an average IQ of 115.5, with President Nixon having the highest at 155. President G.W. Bush rated the lowest of all the Republicans with an IQ of 91. The six Democrat presidents had IQs with an average of 156, with President Clinton having the highest IQ, at 182. President Lyndon B. Johnson was rated the lowest of all the Democrats with an IQ of 126. No president other than Carter (D) has released his actual IQ, 176 (rated as 175 by the Lovenstein Institute).

Among comments made concerning the specific testing of President GW Bush, his low ratings are due to his apparently difficult command of the English language in public statements, his limited use of vocabulary (6,500 words for Bush versus an average of 11,000 words for other presidents), his lack of scholarly achievements other than a basic MBA, and an absence of any body of work which could be studied on an intellectual basis. The complete report documents the methods and procedures used to arrive at these ratings, including depth of sentence structure and voice stress confidence analysis. “All the Presidents prior to George W. Bush had a least one book under their belt, and most had written several white papers during their education or early careers. Not so with
President Bush,” Dr. Lovenstein said. “He has no published works or writings, which made it more difficult to arrive at an assessment. We relied more heavily on transcripts of his unscripted public speaking.”

Republicans Love to Rewrite History

Sure you say… We all know how much Republicans love to rewrite history. The Bush administration has been little but a series of lies and coverups since 2000, but I have to say that I wholeheartedly agree with Erich’s assessment over at pigeffer.com.

The long and short of Erich’s article is that Bush and Dick Cheney are angry about their approval ratings going down the toilet. They are so fed up by all the recent congressional critisisim over their pet war in Iraq that they are lashing out against Democrats and accusing them of “rewriting history”.

Erich, of course, asks the obvious question: What about the volumes of history the Bush administration has rewritten? The few members of his administration who can write, that is. This administration has been not only incredibly secretive, they have changed their reasoning for taking America to war three times, and attempted to bring the time-honored tradition of torture back to international affairs…

Hey, torture! Great family values people!

Here are some of the highlights from Erich’s article:

The latest Newsweek poll is showing that Bush’s approval ratings are below 36%, so in an effort to appear to be presidential, Bush is swinging back at his critics by accusing them of “rewriting history”. This is perhaps the most laughable and ironic accusation the president could have offered, considering that he has altered his reasons for going to war with Iraq three times.

At the time, he justified this action by claiming that Saddam Hussein had weapons of mass destruction, and was trying to acquire more. Unsurprisingly, Bush came this conclusion only a month after the attacks in New York City on 9/11. Desperately wanting to pin the attacks on Hussein to use a driver for invasion, he was unsuccessful as all evidence pointed clearly at bin Laden.

Keeping in mind that WMD’s were not found in Iraq, and the people of the United States felt they were lied to, Bush changed his message. Instead of focusing on the weapons of mass destruction, Bush was able to successfully redirect the peoples’ attention to the fact that “Saddam is a bad guy”.

Not long after the Iraqi congress was formed, our reasons for the war changed once again. Now, we were “promoting democracy”, and apparently we still are.

Erich wraps it all up by suggesting what we should be doing with our military presence in Iraq:

The best thing we can do for our troops is to pull them out of all cities, towns, and villages in Iraq and move them to the borders. From there, we can completely secure Iraq and protect the Iraqi people from foreign terrorists, such as the hundreds that are streaming in from Syria, Jordan, Saudi Arabia, and Iran.

I can’t say that I completely agree with this approach, but I do agree that the long-term hopes for a settled Middle East are bleak at best.

Of course, the second we leave, no matter how far into the future, Iraq is going to revert back to what it’s always been: a nation of tribes warring with each other over religious differences. Maybe we shouldn’t delay the inevitable…

Well said Erich. I hope you’re wrong, but you certainly do have history on your side.

Libby Takes The Fall

Is I. Lewis “Scooter” Libby the new Fall Guy? Given last Friday’s indictment, he seems to be taking the fall for the corrupt Bush administration, but will it work? Rove and Cheney are still under investigation, and if you ask me, Bush and his cronies have a lot of explaining to do about why they leaked National security secrets to for partisan purposes.

The sad thing is that if Bush himself does not burn for this, everyone involved will simply be given a Presidential pardon… Talk about corruption!

Thanks to Erich for the Photoshop work on the image above!

All Fingers Pointing in The “Right” Direction

The fingers are pointing all over Washington, and the Bush administration somehow expects us to believe that the local governments in Louisiana and Mississippi should have had everything under control so his vacation would not have had to be tragically truncated.

The city of New Orleans was completely under water and this President has the nerve to be critical of local law enforcement and state government officials for not having the resources to handle, on their own, the single worst natural disaster this country has ever faced.

Sure, Mr. President… Perhaps you should not have appointed an incompetent GOP activist named Mike Brown to run FEMA. A person who had absolutely no experience to qualify him to run any government agency, let alone the one charged with saving lives in the face of massive disasters. Maybe you just thought you could give cushy jobs to the good ol’ boys network and coast on through with nothing to prove their disturbing lack of competence.

Perhaps if Condoleeza Rice had not found it more important to go shoe shopping in New York than to go back to Washington where she could get involved with the rescue effort, you might not find so many fingers pointing your way.

Some say the Left is “spinning” this against the Republicans, but I say we’re just calling it as we see it.

A poll taken on September 4, 2005 shows that only 12% of people give the federal response an excellent rating. 16% label it as good, while 25% call it fair and 45% call it poor.

Even among Republicans, there are serious doubts about the federal response to the hurricane. Only 47% of those in President Bush’s party say the federal response has been good or excellent, while Fifty-one percent say it has been fair or poor.

Rasmussen reports that only 45% of American adults now approve of the way Bush is performing in his role as President. A whopping 53% disapprove.

Gallup polling organization placed Bush’s approval at 40 percent, which is an all-time low. American Research Group has his approval as low as 36%.

in the latest Washington Post-ABC News poll, 57% of those surveyed disapproved of the president’s handling of the war in Iraq. 53% said the war was not worth it.

It is becoming more and more clear each day that, in almost every poll, a smaller and smaller minority of Americans are able to support President Bush and the Republican-led Congress. If you ask me, Bush is finally having to answer to his lack of moral fiber and astonishing incompetence.

Thanks to BlogCritics for the statistics.

Bloggers Run Condoleeza Rice out of NYC

All over the net, people are talking about how the Bush Administration’s failure to respond to Hurricane Katrina might prove to be the downfall of his administration. Based on his failures in Afghanistan, Iraq, Sudan, and the Gulf Coast, it is certainly clear Bush and his Neo-Conservative followers have become damaged goods, and some are even calling for him to “resign in shame“.

While reading Zach’s story “Is Katrina Bush’s Waterloo?” I found a link to a New York Times story that reports how bloggers, demanding answers about the Bush administration’s failure to act, chased Condoleeza Rice out of the city where she had been shopping for shoes and enjoying plays rather than responding to the death and devastation in New Orleans.

It would be one thing if President Bush and his inner circle – Dick Cheney was vacationing in Wyoming; Condi Rice was shoe shopping at Ferragamo’s on Fifth Avenue and attended “Spamalot” before bloggers chased her back to Washington; and Andy Card was off in Maine – lacked empathy but could get the job done. But it is a chilling lack of empathy combined with a stunning lack of efficiency that could make this administration implode.

Everywhere we look, this government has failed us. During his time in office, Bush has staged a war built on lies against an imagined enemy, perpetuated a fear of terrorism in order to exert social control, and eroded our civil rights, while padding the pockets of his executive campaign contributers. There can be no doubt that this administration is corrupt and incompetent, and I, for one, do feel he should resign.