Hello,

I'm at a point now where I can easily find my way around Linux systems, and can even remember vim commands(!), but still struggle with basic tasks sometimes.

Specifically, I want to set up a user so that when they login, Midnight Commander is automatically launched. This from a console login, no X.

I've tried specifying /usr/bin/mc in /etc/shells and then changing the user's shell in /etc/passwd, this almost works correctly but I have a feeling that when mc launches subshells, it actually launches copies of itself. mc should only be running once, and should not be exitable.

I've also tried creating a .profile in the user's home directory and putting "/usr/bin/mc" in it, this seems to cause the console to freeze, logging in as root on another console and killing the mc process returns the user to the login prompt.

It is possible to still have bash as the shell, but mc always runs on login and avoids returning (I guess using respawn)?