sudo in squeeze
Posted by lters
on Wed 19 Jan 2011 at 10:52
On some of our boxes we are running squeeze.
And I find that sudo -s changes the current user to root.
The breaks all the current users aliases and environment.
Normally after logging into a box, and needed to do root type things, sudo -s gets me privileges but keeps everything like my pwd, aliases, environment vars etc.
Is there anyway to get the current /Lenny/ behavior back?
That was much nicer or was I doing something I should not have been doing?