
What are the differences between "su", "sudo -s", "sudo -i", "sudo su"?
Oct 22, 2011 · sudo su Asks your password, becomes root momentarily to run su as root. sudo su - Asks your password, becomes root momentarily to run su - as root. So in this case you are running …
su vs sudo -s vs sudo -i vs sudo bash - Unix & Linux Stack Exchange
su is equivalent to sudo -i and simulates a login into the root account. Your working directory will be /root, and it will read root's .profile etc. The prompt will change from $ to #, indicating you have root …
Why do we use su - and not just su? - Unix & Linux Stack Exchange
Feb 7, 2011 · The main difference is : su - username sets up the shell environment as if it were a clean login as the specified user, it access and use specified users environment variables, su username …
su - user Vs sudo su - user - Unix & Linux Stack Exchange
Aug 22, 2018 · Secondly: sudo -i and su - do the same thing (su - is equivalent to su --login), using different authorization mechanism: su verifies the password for the root account, while sudo verifies …
如何学习草图大师 sketchup? - 知乎
如何学习草图大师 sketchup? 1,有autocad基础 (会画简单的平面及标注等),想学su,做点家装的3D效果,咨询一下怎么入门? 2,有哪些可用的网络资源,电子书或在线课程等等?… 显示全部 关注者 4,122 被浏览
What is the difference between 'su -' and 'su root'? [duplicate]
8 su - switches to the superuser and sets up the environment so that it looks like they logged in directly. su root switches to the user named root and doesn't simulate directly logging in. If the superuser is …
如何评价2026年统计学最高奖COPSS奖得主Weijie Su的学术成就?
Feb 6, 2026 · stanford 的大手再次发力了 好吧不开玩笑的说,现在统计研究也得追热点了,stanford的人7年5奖, knockoff,dp,llm, stein method 这些新领域拿了个遍,他们才是真正创造热点的人 我 …
How does the "su" command work? - Unix & Linux Stack Exchange
Jul 24, 2017 · The su executable has a special permission bit on it, called the "set-user-ID bit" or "setuid" which causes it to execute such that the effective user ID of the process is that of the owner of that …
'sudo su -' vs 'sudo -i' vs 'sudo /bin/bash' - when does it matter ...
Nov 13, 2013 · sudo su - This time it is a login shell, so /etc/profile, .profile and .bashrc are executed and you will find yourself in root's home directory with root's environment. sudo -i It is nearly the same as …
What are the differences between sudo, su, visudo, chroot, and gksu?
su - Also a way of elevation, but has differences as it performs a full interactive logon as root (or another user), and gives a bash prompt unless specified otherwise with arguments. It uses the target user's …