su or sudo su?

Tom H tomh0665 at
Tue Oct 19 15:15:57 UTC 2010

On Tue, Oct 19, 2010 at 9:20 AM, Tomas Hajek <thajek at> wrote:
> I suppose if "sudo su -" asks for roots password ("Defaults targetpw" in sudoers for
> instance) like opensuse seems to do, I might consider that stupid but it probably is
> there for a reason and someone finds it useful.

targetpw requires root's password because there's an assumed "-u root"
in "sudo su -". For sudo always to prompt for root's password, you
have to set rootpw in sudoers.

More information about the users mailing list