On 21/03/16 21:35, to...@tuxteam.de wrote: > On Mon, Mar 21, 2016 at 09:45:32PM +1300, Richard Hector wrote: > > [...] > >> On the other hand, if I need to be some other user, like the postgres >> user, I use "sudo su postgres". There are probably better ways to do >> that, too, but again, it works. > > sudo -su postgres > > or > > sudo -iu postgres > > depending on your preferences. It's all in the manpage :)
It is indeed - thanks :-) I try and remember such things, but it's harder when the old way works fine as well :-) Richard