ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Top Ten Mac OS X Tips for Unix Geeks
Subject:   Item #2
Date:   2002-11-24 18:46:15
From:   anonymous2
Actually, you can sudo -s to get a shell with root privs. I typically use sudo -s -H.


Also, sudo -k will kill your timestamp, requiring you to enter your password the next time you try a sudo command.


sudo is almost infinitely flexible. Changes to the behavior of sudo can be affected through the /etc/sudoers file.