Warning: include_once(/home/nullvoid/blog.mikezhang.com/wp-content/plugins/wordpress-support/wordpress-support.php): failed to open stream: Permission denied in /home/nullvoid/blog.mikezhang.com/wp-settings.php on line 217

Warning: include_once(): Failed opening '/home/nullvoid/blog.mikezhang.com/wp-content/plugins/wordpress-support/wordpress-support.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/nullvoid/blog.mikezhang.com/wp-settings.php on line 217
NullVoid » 2007 » September » 27 NullVoid » 2007 » September » 27

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.


 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

You are visitor number several since September 1, 2001

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