Skip to main content

Timeline for Sudo su vs su linux

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Apr 26, 2013 at 6:15 comment added Renan not just that, there are many other services that have to run as root (check ps aux).
Apr 26, 2013 at 3:18 vote accept agz
Apr 26, 2013 at 3:18 comment added agz So at the moment there is no password?...so basically root is just an account that sudoers can use to make changes to root files?
Apr 26, 2013 at 0:41 comment added Renan Because your distribution probably didn't set it. You can set a root password running sudo passwd (first provide your user password, then choose a new root password).
Apr 25, 2013 at 23:23 comment added agz So what would my root password be for the "su" command? How come it isnt the password I set in the beginning of the installation?
S Apr 25, 2013 at 9:43 history suggested Lie Ryan CC BY-SA 3.0
su can also switch to users other than root
Apr 25, 2013 at 9:06 comment added Lie Ryan One other important bit of information to understand the related command sudo su otheruser is that su allows the root to switch into any users without entering their password, while non-root users that runs su have to input the target user's password. sudo su therefore runs su as root, which allows you to get a shell for another user without knowing their password (as long as it's allowed by sudoers).
Apr 25, 2013 at 9:03 review Suggested edits
S Apr 25, 2013 at 9:43
Apr 25, 2013 at 2:16 history answered Renan CC BY-SA 3.0