community.aegirproject.org
Working as aegir user
It can be convenient to do stuff as the aegir user. The default shell of the aegir user is /bin/false, so you have to make sure to use something more usable:
sudo su aegir -s /bin/bash
GNU Screen is a super useful window manager for the console. When launching screen you will usually get errors like
Cannot open your terminal '/dev/pts/6' - please check.
You can get around this by running
script /dev/null
All it all this works nicely:
sudo su aegir -s /bin/bash -c "script -q /dev/null"
It can be convenient to put it in a little script as /usr/local/bin/suaegir
- Login or register to post comments
- Print entire section
- Talk