Archive for September 27th, 2007

Do Everything on a Mac as Root

Thursday, September 27th, 2007 -- By ET

If you don’t know what the title means, just ignore this post.  :-p

I found that on a Mac, I can’t really “su root” as I  often do on Linux.  Whenever I change the root password, I can “su root”, but the next time when I start “Terminal”, the root password is not recognized.  The trick lies in creating a super user account, then “sudo” each time.

For example, to move some files to a directory that the current user does not have right to write.  I can do:

sudo mv somefiles* /home/root/dir

Good thing is that the only difference is to add sudo in the beginning.

sandwich.png

 This cartoon from xkcd says it all.

Spinning Dancer

Thursday, September 27th, 2007 -- By ET

If you  see the dancer to be moving clock-wise, then you are a logical person.  If count-clock-wise, you are an artistic person. Trust me, I see it spinning both ways.   spinning.gif


BlogTimer
You are visitor number several since September 1, 2001

Copyright Xiaoquan (Michael) Zhang, 2004-2020. All rights reserved.
All trademarks property of their owners.