Su Casa Furniture Baltimore Deals Are Saving Mo. So in this case you are running. Su root switches to the user named root and doesn't simulate directly logging in.
LIVING Su Casa from www.sucasa.furniture
2,有哪些可用的网络资源,电子书或在线课程等等?… 显示全部 关注者 4,126 被浏览 The main difference is : Su root switches to the user named root and doesn't simulate directly logging in.
So In This Case You Are Running.
The main difference is : Su root switches to the user named root and doesn't simulate directly logging in. Sudo su asks your password, becomes root momentarily to run su as root.
Your working directory will be /root, and it will read root's.profile etc. The prompt will change from $ to #, indicating you have root. From su 's man page:
For Backward Compatibility, Su Defaults To Not Change The Current Directory And To Only Set The Environment Variables Home And Shell (Plus User And Logname If.