[clue-tech] Question for script wizards

Keith Christian keithchristian at yahoo.com
Thu Apr 9 16:33:34 MDT 2009


--- On Thu, 4/9/09, Sean LeBlanc <seanleblanc at comcast.net> wrote:

> I want the default shell to be different if I ssh in from
> machine "foo" vs.
> what the shell would be coming from machine
> "bar".

Depending on the user's default shell, a combination of the output of "who" and "tty" could be used in the .profile, .kshrc, .cshrc, or .bashrc files to spawn a shell based on the output of those commands.

=======Keith


More information about the clue-tech mailing list