How to use byobu as a login shell?

Asked by Uqbar

I need to create users on a server machine so that as soon as they login (with SSH or telnet) I have byobu running.
My perfect solution is to have byobu as the login shell in /etc/passwd and not spawned though the .profile/.login/.bashrc and the likes.
I've done a few (trivial) tests but I didn't succeeded so far.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu byobu Edit question
Assignee:
No assignee Edit question
Solved by:
Dustin Kirkland 
Solved:
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

In Precise it's available through an environment variable. bug 586546
Or rather ask Dustin, he really is a byobu expert.
http://texaslinuxfest.org/sessions/byobu-damn-fine-command-line
http://blog.dustinkirkland.com/2011/05/byobu-video-from-uds-o-lightning-talks.html

Revision history for this message
Uqbar (uqbar) said :
#2

First of all, Sam_, I'm not going to either wait for or upgrade to Precise Pangolin in the near future: my servers are in production.
Second, I need byobu to be spawned with SSH (external) and telnet (internal). The LC_BYOBU variable would work only with SSH.
I was expecting a command line + configuration to be set in /etc/passwd: this is what I'd call a "login shell".
Thanks for the hints, any way.

Revision history for this message
Best Dustin Kirkland  (kirkland) said :
#3

I answered this question here yesterday:
 * http://askubuntu.com/questions/107009/how-to-use-byobu-as-a-login-shell

Thanks,
Dustin

Revision history for this message
Uqbar (uqbar) said :
#4

Thanks Dustin Kirkland, that solved my question.