how to emulate "su mysql" in ubuntu?

Robert P. J. Day rpjday at crashcourse.ca
Wed Jul 28 16:00:14 UTC 2010


On Wed, 28 Jul 2010, Patrick Doyle wrote:

> I see that sudo takes a -u argument, perhaps
>
> $ sudo -u mysql /bin/sh
>
> might do the trick.

  yes, that appears to work, but i could *swear* that was also one of
the first things i tried.  i must have tested every subtle variation
of that except for that.  argh.  thanks.

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the ubuntu-users mailing list