View Single Post
Old 19th July 2011
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

If I need a root shell (ie doing more than one thing as root) I use sudo su - to make sure I get a full root session (root ENV, root shell, root prefs, etc).

Otherwise, I use just sudo <command> for everything. Mainly to get an audit log of what I did and when. Especially on remote systems or ones I don't interact with very often.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote