-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 :) These days I only use su for some (archaeological) installations I stumble upon at work. - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbvsmMACgkQBcgs9XrR2kYkhwCffbIiSEg8tl4nHjbsof3N8p99 SgoAn1E53GaR9L7sWJxIUOkQh6O3U6gt =Obxs -----END PGP SIGNATURE-----