With a little side of applesauce...

Thursday, February 1, 2007

difference between su and su -

I love it when you learn something that is fundamental to how you do work. I have always noticed that emacs always read my /home/me/.emacs when I would su to root… (But, I never investigated it…) Well, yesterday I learned that:

“The optional argument - may be used to provide an environment similar to what the user would expect had the user logged in directly.” — su man page

Now, that is cool!

No comments: