[KDE/Mac] KDE4 and D-BUS

Andrew Stromme andrew.stromme at gmail.com
Sat Feb 7 15:59:34 CET 2009


On Saturday 07 February 2009 08:21:59 Julian Mehnle wrote:
> O wrote:
> > If you can figure out how to get sudo to run commands as the local
> > user, I can figure out the rest.
> > Till then, read a little, learn a lot :-)
>

If you have a root shell gained by sudo:
`su $SUDO_USER -c whoami` (run as SUDO_USER)

to run a more involved command:
`su $SUDO_USER -c "big long command with arguments"`


Andrew Stromme


More information about the kde-mac mailing list