I have installed Aegir as described in "Aegir Installation Instructions". Now I would like to execute some commands as the aegir user. How do I do that?

I have tried "sudo su aegir", but no luck, it doesn't change the user.

Comments

Anonymous’s picture

Status: Active » Fixed

As the root user, you can type

su -s /bin/sh aegir

And you will be dropped into your server's default shell as the aegir user.

If you want to specify the type of shell (say, Bash), and if that shell isn't already the default '/bin/sh' shell, you can type

su -s /bin/bash aegir

If you don't run these commands as root, but as a different user, you must prefix them with sudo.

Good luck!

blue56’s picture

Thanks!

anarcat’s picture

Issue tags: +FAQ

this is a faq.

Status: Fixed » Closed (fixed)
Issue tags: -FAQ

Automatically closed -- issue fixed for 2 weeks with no activity.