[hoary] sudo authentication problem

ZIYAD A. M. AL-BATLY zamb at spymac.com
Mon Feb 28 20:18:53 UTC 2005


On Mon, 2005-02-28 at 14:26 +0100, Philippe Landau wrote:
>since some time when i start synaptic through the menu,
>it does not load.
>when i try it through the terminal,
>the following happens:
>
>kind regards     philippe
>
>--
>
>user at donkey:~ $ sudo synaptic &
>Password:
>[1] 7249
>
>[1]+  Stopped                 sudo synaptic
>user at donkey:~ $ sudo ls
>Password:
>Desktop
>user at donkey:~ $ sudo synaptic &
>[2] 7261
>user at donkey:~ $
>
>
>
Try:
        sudo sh -c 'synaptic &'

That will do it.

[OFF TOPIC]:
        By the way, this trick also works when you want to run sudo and
        redirect your output to another file, i.e.:
                sudo sh -c 'echo 1024 >/proc/sys/dev/rtc/max-user-freq'


Ziyad.





More information about the ubuntu-users mailing list