sudo su - and su -



Rob

Administrator
Staff member
Credits
14
They're just different tools to get around to the same thing..

With su - you provide the root password to become root. With sudo su -, you're providing the user password to become root, and you can control who can do it with the /etc/sudoers file.. even controlling what commands the user can run. Much better situation when dealing w/ users - not needing to give out the root password to everyone.
 


Members online


Top