Well, I saw the notification in the panel that some updates were
available.  I noticed one of them was for gnome-panel (and other
packages).  I thought "why not?" and installed them. I then tried to
reproduce the issue.

Having a sudo before the command in a launcher is no longer locking up
the X session!  Instead, it opens the tool with root access.  I was
surprised.  However, it never prompted me for a password.  Is this
because I had already specified it when I ran the Update Manager tool?

I tried logging out and back in to see if that would "reset" it, but I
still was not prompted by the launcher.  However, attempting to execute
the same command from the terminal did prompt me to enter my password.

I was able to execute "sudo gnome-terminal" from a launcher on my panel,
it opened a terminal with root@<machine name> and I indeed had root
access (tried to write some files in other users' home directories).

I am completely confused now.  Is this the expected behavior?  Should
the user not be prompted for a password when running a command prefixed
by sudo from a launcher in a panel or is this working by chance because
I performed a system update right before the test?

-- 
adding "sudo" before command in launcher in gnome panel freezes X session
https://bugs.launchpad.net/bugs/253504
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to