« How to force mkdir to create a directory if there isn’t already one | Home | SimpleXML - solution for XML manipulation in PHP »
How to get the initial help on sudo to reappear in Ubuntu
By admin | September 4, 2008
If you’ve used a new, fresh Ubuntu install, you’ll notice that the first time you open the terminal, you would get the following message before your first sudo (or su):
To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.
However, after your first sudo or su, this message disappears when you open the terminal. If you (for somewhat reason) need to reactivate this message, simply delete ~/.sudo_as_admin_successful with the following command: rm ~/.sudo_as_admin_successful.
If you found this article interesting or helpful, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more interesting articles!
Topics: Linux |
