How to use byobu as a login shell?

Asked by Uqbar on 2012-02-23

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:
2012-03-08
Last query:
2012-03-08
Last reply:
2012-02-24
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

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.

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

Uqbar (uqbar) said : #4

Thanks Dustin Kirkland, that solved my question.