Open links in new tab
  1. What are the differences between "su", "sudo -s", "sudo -i", "sudo su"?

    Oct 22, 2011 · 22 su Asks root password, becomes root, opens an interactive non-login shell. su - Asks root password, becomes root, opens an interactive login shell. sudo -s Asks your passwords, …

  2. su vs sudo -s vs sudo -i vs sudo bash - Unix & Linux Stack Exchange

    What is the difference between the following commands: su sudo -s sudo -i sudo bash I know for su I need to know the root password, and for sudo I have to be in the sudoers file, but once executed...

  3. 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 …

  4. 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 …

  5. 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 …

  6. '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 …

  7. 如何学习草图大师 sketchup? - 知乎

    如何学习草图大师 sketchup? 1,有autocad基础 (会画简单的平面及标注等),想学su,做点家装的3D效果,咨询一下怎么入门? 2,有哪些可用的网络资源,电子书或在线课程等等?… 显示全部 关注者 4,121 被浏览

  8. What's the difference between sudo su vs just su?

    Aug 26, 2015 · The su command can only prompt for the target user's password (assuming a default pam stack), while sudo can be configured to authenticate as the source or target user, or neither, or …

  9. What is the difference between 'su -' , 'sudo bash' and 'sudo sh'?

    su -: This will change your user identifier and inherit the environment variables as if you had logged in with that user. Normally you would use the format su - <userid> to login as the user . If you drop the …

  10. What's the difference between sudo su - and sudo su

    29 When you provide a double-hyphen the experience you will have is identical to if you had just executed sudo su without any hyphen. Passing a single hyphen is identical to passing -l or --login. …