how to emulate "su mysql" in ubuntu?
wpdster at gmail.com
Wed Jul 28 18:56:58 UTC 2010
On Wed, Jul 28, 2010 at 2:36 PM, Tom H <tomh0665 at gmail.com> wrote:
> On Wed, Jul 28, 2010 at 12:44 PM, Patrick Doyle <wpdster at gmail.com> wrote:
>> $ sudu -u mysql /bin/sh
>> would work, whereas using the -i and -s arguments wouldn't. (Actually
>> $sudo -u mysql -s bash seems to work.)
> Good catch! :)
> Although I hope that you mean sudo and not sudu. :)
Oops... too much sudoku in my younger days :-)
> I didn't know that you could pass a command to "sudo -s"; thanks.
It's always amazing what turns up in the man pages -- every time I
look at them I find something new :-)
More information about the ubuntu-users